diff --git a/builtin-show-branch.c b/builtin-show-branch.c
index fc38f5e005557396af507d4b3b934ec97b32d0e2..c8e9b3c723cb733e1d6b4cd2036f165f0a088970 100644 (file)
--- a/builtin-show-branch.c
+++ b/builtin-show-branch.c
if (*ep == ',')
*base = ep + 1;
else if (*ep)
- die("unrecognized reflog param '%s'", arg + 9);
+ die("unrecognized reflog param '%s'", arg);
else
*base = NULL;
if (*cnt <= 0)