mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
blame: fix option name in error message
The option name used in blame's UI is `--reverse`. Signed-off-by: Max Kirillov <max@max630.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
441c4a4017
commit
95261974bb
|
@ -2677,7 +2677,7 @@ int cmd_blame(int argc, const char **argv, const char *prefix)
|
||||||
sb.commits.compare = compare_commits_by_commit_date;
|
sb.commits.compare = compare_commits_by_commit_date;
|
||||||
}
|
}
|
||||||
else if (contents_from)
|
else if (contents_from)
|
||||||
die("--contents and --children do not blend well.");
|
die("--contents and --reverse do not blend well.");
|
||||||
else {
|
else {
|
||||||
final_commit_name = prepare_initial(&sb);
|
final_commit_name = prepare_initial(&sb);
|
||||||
sb.commits.compare = compare_commits_by_reverse_commit_date;
|
sb.commits.compare = compare_commits_by_reverse_commit_date;
|
||||||
|
|
Loading…
Reference in a new issue