Re: [PATCH] fast-export: fix argument name in error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Price <price@xxxxxxxxxxxxxxxxxxx> writes:

> The --signed-tags argument is plural, while error messages referred
> to --signed-tag (singular).  Tweak error messages to correspond to the
> argument.
>
> Signed-off-by: Paul Price <price@xxxxxxxxxxxxxxxxxxx>
> ---
> First submission; please report any formatting or style errors privately.

The patch is trivially whitespace-damaged but was easy enough to
correct locally here.

Applied; thanks.

>
> builtin/fast-export.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/builtin/fast-export.c b/builtin/fast-export.c
> index 77dffd1..ad9d0c4 100644
> --- a/builtin/fast-export.c
> +++ b/builtin/fast-export.c
> @@ -43,7 +43,7 @@ static int parse_opt_signed_tag_mode(const struct option *opt,
> 	else if (!strcmp(arg, "strip"))
> 		signed_tag_mode = STRIP;
> 	else
> -		return error("Unknown signed-tag mode: %s", arg);
> +		return error("Unknown signed-tags mode: %s", arg);
> 	return 0;
> }
>
> @@ -416,7 +416,7 @@ static void handle_tag(const char *name, struct tag *tag)
> 			switch(signed_tag_mode) {
> 			case ABORT:
> 				die ("Encountered signed tag %s; use "
> -				     "--signed-tag=<mode> to handle it.",
> +				     "--signed-tags=<mode> to handle it.",
> 				     sha1_to_hex(tag->object.sha1));
> 			case WARN:
> 				warning ("Exporting signed tag %s",
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]