From: Jonas Fonseca Date: Fri, 10 Oct 2008 12:00:47 +0000 (+0200) Subject: Separate blame revision and file argument by "--" to avoid problems X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6ba2ebb79cd968ed170ab969b537c0ffc2a529c2;p=tig.git Separate blame revision and file argument by "--" to avoid problems --- diff --git a/NEWS b/NEWS index 7b9c0fe..5719d46 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,10 @@ Improvements: tracked remotes, remotes. - Add bash completion for blame. +Bug fixes: + + - Separate blame revision and file argument by "--" to avoid problems. + tig-0.12.1 ---------- diff --git a/tig.c b/tig.c index 265ea46..337bac9 100644 --- a/tig.c +++ b/tig.c @@ -3488,7 +3488,7 @@ struct blame { }; #define BLAME_CAT_FILE_CMD "git cat-file blob %s:%s" -#define BLAME_INCREMENTAL_CMD "git blame --incremental %s %s" +#define BLAME_INCREMENTAL_CMD "git blame --incremental %s -- %s" static bool blame_open(struct view *view)