[PATCH] rev-parse: fix mismatch quoting of separator in the message
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Sep 22, 2021, 11:17 UTC
- Message-ID
- <20210922111744.675326-1-bagasdotme@gmail.com>
There is a quoting mismatch quoting `--` separator in "no usage string given...." message (`' instead of ``). Fix it.
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> --- builtin/rev-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/rev-parse.c b/builtin/rev-parse.c index 22c4e1a4ff..a35dbad6c4 100644 --- a/builtin/rev-parse.c +++ b/builtin/rev-parse.c @@ -439,7 +439,7 @@ static int cmd_parseopt(int argc, const char **argv, const char *prefix) ALLOC_GROW(usage, unb + 1, usz); if (!strcmp("--", sb.buf)) { if (unb < 1) - die(_("no usage string given before the `--' separator")); + die(_("no usage string given before the `--` separator")); usage[unb] = NULL; break; } base-commit: 99c99ed8259bf070cd8ae7b51a94904b7cf5c161
-- 2.25.1