[gnome-builder/wip/file-loader] git: track updated libgit2-glib patches



commit 0e86e6ce63e88a8999fbbd93ae7cde1396558238
Author: Christian Hergert <christian hergert me>
Date:   Mon Apr 13 02:21:37 2015 -0700

    git: track updated libgit2-glib patches
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747727

 libide/git/ide-git-vcs.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libide/git/ide-git-vcs.c b/libide/git/ide-git-vcs.c
index d18d139..22a2654 100644
--- a/libide/git/ide-git-vcs.c
+++ b/libide/git/ide-git-vcs.c
@@ -16,6 +16,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <git2.h>
 #include <glib/gi18n.h>
 #include <libgit2-glib/ggit.h>
 
@@ -661,19 +662,19 @@ ide_git_vcs_is_ignored (IdeVcs  *vcs,
 {
   g_autofree gchar *name = NULL;
   IdeGitVcs *self = (IdeGitVcs *)vcs;
+  gboolean ret = FALSE;
 
   g_assert (IDE_IS_GIT_VCS (self));
   g_assert (G_IS_FILE (file));
 
   name = g_file_get_relative_path (self->working_directory, file);
-
   if (g_strcmp0 (name, ".git") == 0)
     return TRUE;
 
   if (name != NULL)
-    return ggit_repository_path_is_ignored (self->repository, name);
+    return ggit_repository_path_is_ignored (self->repository, name, error);
 
-  return FALSE;
+  return ret;
 }
 
 static void


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