aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-05-18 08:59:20 -0700
committerJunio C Hamano <gitster@pobox.com>2009-05-18 08:59:20 -0700
commit59e5fb356ee6abf022e03c446df83879c727b94c (patch)
treebf94270a3c809a8967fb24cdfd2331e9a2f00a9c
parent55524fcf9d6676ca3840227092bf3a14ba404615 (diff)
parent5acb3e5012966cc11e54f50e0592b3639bade02c (diff)
downloadgit-59e5fb356ee6abf022e03c446df83879c727b94c.tar.gz
git-59e5fb356ee6abf022e03c446df83879c727b94c.tar.xz
Merge branch 'maint'
* maint: show-branch: Fix die message in parse_reflog_param()
-rw-r--r--builtin-show-branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-show-branch.c b/builtin-show-branch.c
index 828e6f86d..c3afabbe9 100644
--- a/builtin-show-branch.c
+++ b/builtin-show-branch.c
@@ -576,7 +576,7 @@ static void parse_reflog_param(const char *arg, int *cnt, const char **base)
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)