Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Casey <casey@nrlssc.navy.mil>2008-01-05 04:11:37 +0300
committerJunio C Hamano <gitster@pobox.com>2008-01-05 04:22:24 +0300
commitcb97cc9fef60ea2ff1ce51cf575314c04488dbfd (patch)
tree5e88f0af614dacc33029fd983cab67f4dfc91176 /builtin-reflog.c
parent552cecc21447efe9d5f9a86d55b5e428d56a0c53 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-reflog.c b/builtin-reflog.c
index f4226939a9..5e5498945f 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;
}