Merge branch 'maint'
* maint: show-branch: Fix die message in parse_reflog_param()
This commit is contained in:
commit
59e5fb356e
@ -576,7 +576,7 @@ static void parse_reflog_param(const char *arg, int *cnt, const char **base)
|
|||||||
if (*ep == ',')
|
if (*ep == ',')
|
||||||
*base = ep + 1;
|
*base = ep + 1;
|
||||||
else if (*ep)
|
else if (*ep)
|
||||||
die("unrecognized reflog param '%s'", arg + 9);
|
die("unrecognized reflog param '%s'", arg);
|
||||||
else
|
else
|
||||||
*base = NULL;
|
*base = NULL;
|
||||||
if (*cnt <= 0)
|
if (*cnt <= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user