Skip to content

Commit 59e5fb3

Browse files
committed
Merge branch 'maint'
* maint: show-branch: Fix die message in parse_reflog_param()
2 parents 55524fc + 5acb3e5 commit 59e5fb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builtin-show-branch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ static void parse_reflog_param(const char *arg, int *cnt, const char **base)
576576
if (*ep == ',')
577577
*base = ep + 1;
578578
else if (*ep)
579-
die("unrecognized reflog param '%s'", arg + 9);
579+
die("unrecognized reflog param '%s'", arg);
580580
else
581581
*base = NULL;
582582
if (*cnt <= 0)

0 commit comments

Comments
 (0)