From 5d245293a52ab9f2decaa5e8b340775d9307b009 Mon Sep 17 00:00:00 2001 From: James Liggett Date: Sun, 27 Apr 2008 23:17:44 -0700 Subject: [PATCH] Make sure that any leading whitespace from status paths are removed. --- plugins/git/git-status-command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git/git-status-command.c b/plugins/git/git-status-command.c index e6a9c9ed..df0073ed 100644 --- a/plugins/git/git-status-command.c +++ b/plugins/git/git-status-command.c @@ -81,6 +81,7 @@ git_status_command_handle_output (GitCommand *git_command, const gchar *output) status = g_match_info_fetch (match_info, 1); path = g_match_info_fetch (match_info, 2); + g_strchug (path); if (!g_hash_table_lookup_extended (self->priv->path_lookup_table, path, NULL, NULL)) -- 2.11.4.GIT