From: Brandon Casey Date: Sat, 5 Jan 2008 01:11:37 +0000 (-0600) Subject: builtin-reflog.c: fix typo that accesses an unset variable X-Git-Tag: v1.5.5-rc0~56^2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb97cc9fef60ea2ff1ce51cf575314c04488dbfd;p=git.git builtin-reflog.c: fix typo that accesses an unset variable Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- diff --git a/builtin-reflog.c b/builtin-reflog.c index f4226939a..5e5498945 100644 --- a/builtin-reflog.c +++ b/builtin-reflog.c @@ -394,7 +394,7 @@ static int cmd_reflog_delete(int argc, const char **argv, const char *prefix) int recno; if (!spec) { - status |= error("Not a reflog: %s", ref); + status |= error("Not a reflog: %s", argv[i]); continue; }