From 9cc9fe34f17f62b46b4b3641d46932e5f113613b Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 24 Jan 2009 12:59:32 +0100 Subject: [PATCH] Rectify arg indexes changes in blame --no-color fix Introduced in 78685441f4effd81082a53abb4c1246ebd1e0e49 --- tig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tig.c b/tig.c index 7380c0f..e24939f 100644 --- a/tig.c +++ b/tig.c @@ -4172,8 +4172,8 @@ blame_request(struct view *view, enum request request, struct line *line) if (!blame->commit->has_previous) { diff_index_argv[1] = "diff"; diff_index_argv[2] = "--no-color"; - diff_index_argv[5] = "--"; - diff_index_argv[6] = "/dev/null"; + diff_index_argv[6] = "--"; + diff_index_argv[7] = "/dev/null"; } if (!prepare_update(diff, diff_index_argv, NULL, FORMAT_DASH)) { -- 2.30.2