From cb97cc9fef60ea2ff1ce51cf575314c04488dbfd Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Fri, 4 Jan 2008 19:11:37 -0600 Subject: [PATCH] builtin-reflog.c: fix typo that accesses an unset variable Signed-off-by: Brandon Casey Signed-off-by: Junio C Hamano --- builtin-reflog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.26.2