# [PATCH] blame: fix option name in error message

2 messages from 2015-10-26 to 2015-10-26. Participants: Max Kirillov, Junio C Hamano.
Thread: https://gitlist.dev/t/40641

## Max Kirillov, 2015-10-26 05:29

Subject: [PATCH] blame: fix option name in error message
Message-ID: <1445837340-4333-1-git-send-email-max@max630.net>
URL: https://gitlist.dev/e/1445837340-4333-1-git-send-email-max%40max630.net

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

Signed-off-by: Max Kirillov <max@max630.net>
---
 builtin/blame.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/blame.c b/builtin/blame.c
index 98b1810..f89bc9e 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -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;
-- 
2.3.4.2801.g3d0809b

```

## Junio C Hamano, 2015-10-26 06:29

Subject: Re: [PATCH] blame: fix option name in error message
Message-ID: <xmqqa8r6jg6p.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqa8r6jg6p.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <1445837340-4333-1-git-send-email-max@max630.net>

```
Max Kirillov <max@max630.net> writes:

> The option name used in blame's UI is `--reverse`.
>
> Signed-off-by: Max Kirillov <max@max630.net>
> ---

;-)

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

>  builtin/blame.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/blame.c b/builtin/blame.c
> index 98b1810..f89bc9e 100644
> --- a/builtin/blame.c
> +++ b/builtin/blame.c
> @@ -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;

```
