diff options
author | Brandon Casey <casey@nrlssc.navy.mil> | 2008-01-04 19:11:37 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-04 17:22:24 -0800 |
commit | cb97cc9fef60ea2ff1ce51cf575314c04488dbfd (patch) | |
tree | 5e88f0af614dacc33029fd983cab67f4dfc91176 /builtin-reflog.c | |
parent | 552cecc21447efe9d5f9a86d55b5e428d56a0c53 (diff) | |
download | git-cb97cc9fef60ea2ff1ce51cf575314c04488dbfd.tar.gz git-cb97cc9fef60ea2ff1ce51cf575314c04488dbfd.tar.xz |
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>
Diffstat (limited to 'builtin-reflog.c')
-rw-r--r-- | builtin-reflog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |