[gnome-builder] git: log discovered git location
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] git: log discovered git location
- Date: Thu, 13 Oct 2016 01:31:29 +0000 (UTC)
commit ab1c2320b6319483fc25975a4ba475f1333d29ba
Author: Christian Hergert <chergert redhat com>
Date: Wed Oct 12 18:31:20 2016 -0700
git: log discovered git location
plugins/git/ide-git-vcs.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/git/ide-git-vcs.c b/plugins/git/ide-git-vcs.c
index 30d104a..552e7d1 100644
--- a/plugins/git/ide-git-vcs.c
+++ b/plugins/git/ide-git-vcs.c
@@ -132,6 +132,7 @@ static GgitRepository *
ide_git_vcs_load (IdeGitVcs *self,
GError **error)
{
+ g_autofree gchar *uri = NULL;
g_autoptr(GFile) location = NULL;
GgitRepository *repository = NULL;
IdeContext *context;
@@ -145,6 +146,9 @@ ide_git_vcs_load (IdeGitVcs *self,
if (!(location = ggit_repository_discover (project_file, error)))
return NULL;
+ uri = g_file_get_uri (location);
+ g_debug ("Discovered .git location at ā%sā", uri);
+
if (!(repository = ggit_repository_open (location, error)))
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]