[gnome-builder/wip/chergert/git-oop: 25/34] add comment for future watches



commit 34226bd78d4c42bed32a57687eae08ca69235d8b
Author: Christian Hergert <chergert redhat com>
Date:   Thu Mar 21 13:57:39 2019 -0700

    add comment for future watches

 src/plugins/git/gbp-git-index-monitor.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/git/gbp-git-index-monitor.c b/src/plugins/git/gbp-git-index-monitor.c
index 6f7feaedc..914a2a866 100644
--- a/src/plugins/git/gbp-git-index-monitor.c
+++ b/src/plugins/git/gbp-git-index-monitor.c
@@ -161,6 +161,8 @@ gbp_git_index_monitor_new (GFile *repository_dir)
                                             NULL,
                                             &error);
 
+  /* TODO: We need to watch the refs/heads/$branch too */
+
   if (error != NULL)
     g_critical ("Failed to monitor git repository, no changes will be detected: %s",
                 error->message);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]