summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 076c323)
raw | patch | inline | side by side (parent: 076c323)
author | Stephen Boyd <bebarino@gmail.com> | |
Sun, 17 May 2009 10:47:02 +0000 (03:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 17 May 2009 19:05:22 +0000 (12:05 -0700) |
Commit 76a44c5 (show-branch --reflog: show the reflog message at the
top, 2007-01-19) introduced parse_reflog_param(). The die() call was
incorrectly passed arg + 9, when it should have been passed arg.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
top, 2007-01-19) introduced parse_reflog_param(). The die() call was
incorrectly passed arg + 9, when it should have been passed arg.
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-show-branch.c | patch | blob | history |
diff --git a/builtin-show-branch.c b/builtin-show-branch.c
index 828e6f86de22f8def68a49b702a27521c248a012..c3afabbe914d699a8e0c80bdb5063ca51506167e 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)