From 6ba2ebb79cd968ed170ab969b537c0ffc2a529c2 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Fri, 10 Oct 2008 14:00:47 +0200 Subject: [PATCH] Separate blame revision and file argument by "--" to avoid problems --- NEWS | 4 ++++ tig.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.32.0.93.g670b81a890