@matheusbsbs / matheus-bagliano / commits / cb97cc9fef
Fork 0

builtin-reflog.c: fix typo that accesses an unset variable

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brandon Casey committed Jan 4, 2008 at 19:11 UTC cb97cc9fef60ea2ff1ce51cf575314c04488dbfd
1 file changed +1 -1
builtin-reflog.c
+1 -1
@@ -394,7 +394,7 @@ static int cmd_reflog_delete(int argc, const char **argv, const char *prefix)
394 int recno;
395
396 if (!spec) {
397 - status |= error("Not a reflog: %s", ref);
397 + status |= error("Not a reflog: %s", argv[i]);
398 continue;
399 }
400