[anjuta/git-shell] git: Fix stupid mistakes in tag change monitoring
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/git-shell] git: Fix stupid mistakes in tag change monitoring
- Date: Sat, 24 Jul 2010 03:17:48 +0000 (UTC)
commit 1eb9dbe174262d4ebac0a47bb8461853a846789c
Author: James Liggett <jrliggett cox net>
Date: Fri Jul 23 16:37:37 2010 -0700
git: Fix stupid mistakes in tag change monitoring
plugins/git/git-tag-list-command.c | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/plugins/git/git-tag-list-command.c b/plugins/git/git-tag-list-command.c
index e8c9ff9..f819869 100644
--- a/plugins/git/git-tag-list-command.c
+++ b/plugins/git/git-tag-list-command.c
@@ -79,15 +79,16 @@ git_tag_list_command_start_automatic_monitor (AnjutaCommand *command)
self = GIT_TAG_LIST_COMMAND (command);
- g_object_get (G_OBJECT (self), "working_directory", &working_directory,
+ g_object_get (G_OBJECT (self), "working-directory", &working_directory,
NULL);
-
- git_tags_path = g_strconcat (G_DIR_SEPARATOR_S,
- ".git",
- "refs"
- "tags",
- NULL);
+ git_tags_path = g_strjoin (G_DIR_SEPARATOR_S,
+ working_directory,
+ ".git",
+ "refs",
+ "tags",
+ NULL);
+
git_tags_file = g_file_new_for_path (git_tags_path);
self->priv->file_monitor = g_file_monitor_directory (git_tags_file, 0, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]