Skip to contentSkip to conversation

blame: fix option name in error message

PATCH In review Max Kirillov 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blame: fix option name in error message

The option name used in blame's UI is --reverse.

---
 builtin/blame.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/blame.c +1 -1
index 98b1810..f89bc9e 100644
@@ -2697,7 +2697,7 @@ parse_done:
 		sb.commits.compare = compare_commits_by_commit_date;
 	}
 	else if (contents_from)
-		die("--contents and --children do not blend well.");
+		die("--contents and --reverse do not blend well.");
 	else {
 		final_commit_name = prepare_initial(&sb);
 		sb.commits.compare = compare_commits_by_reverse_commit_date;
Signature · 1 line
2.3.4.2801.g3d0809b
#1 lore raw
Quoted 4 lines · Max Kirillov

The option name used in blame's UI is --reverse.

---

;-)

It is surprising that nobody noticed this which was in the very original of --reverse. Thanks.

Quoted 16 lines
 builtin/blame.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/blame.c +1 -1
index 98b1810..f89bc9e 100644
@@ -2697,7 +2697,7 @@ parse_done:
 		sb.commits.compare = compare_commits_by_commit_date;
 	}
 	else if (contents_from)
-		die("--contents and --children do not blend well.");
+		die("--contents and --reverse do not blend well.");
 	else {
 		final_commit_name = prepare_initial(&sb);
 		sb.commits.compare = compare_commits_by_reverse_commit_date;