Skip to content

Commit

Permalink
builtin-reflog.c: fix typo that accesses an unset variable
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Brandon Casey authored and Junio C Hamano committed Jan 5, 2008
1 parent 552cecc commit cb97cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-reflog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cb97cc9

Please sign in to comment.