[gnome-builder/wip/chergert/git-oop] add comment



commit 7796bf22ff85fbe90ffd8faeb7cac293e23d9f0d
Author: Christian Hergert <chergert redhat com>
Date:   Thu Mar 21 13:56:01 2019 -0700

    add comment

 src/plugins/git/gbp-git-workbench-addin.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/git/gbp-git-workbench-addin.c b/src/plugins/git/gbp-git-workbench-addin.c
index 426eb20d8..ce989a39c 100644
--- a/src/plugins/git/gbp-git-workbench-addin.c
+++ b/src/plugins/git/gbp-git-workbench-addin.c
@@ -294,6 +294,9 @@ gbp_git_workbench_addin_workspace_added (IdeWorkbenchAddin *addin,
           task = ide_task_new (self, NULL, load_git_for_editor_cb, NULL);
           ide_task_set_source_tag (task, gbp_git_workbench_addin_workspace_added);
 
+          /* Reuse our discovery process, which is normally used when loading
+           * a project (with known directory, etc).
+           */
           gbp_git_client_discover_async (client,
                                          workdir,
                                          NULL,


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