Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Reduce the number of connects when fetching
[gitweb.git]
/
builtin-commit.c
diff --git
a/builtin-commit.c
b/builtin-commit.c
index d8deb1ad033b8171a0aa493ff8c2eb3acc4cfc30..c787bed696591f58d1336a701e57414c9d5c8cbf 100644
(file)
--- a/
builtin-commit.c
+++ b/
builtin-commit.c
@@
-601,7
+601,7
@@
static int parse_and_validate_options(int argc, const char *argv[],
if (get_sha1(use_message, sha1))
die("could not lookup commit %s", use_message);
- commit = lookup_commit(sha1);
+ commit = lookup_commit
_reference
(sha1);
if (!commit || parse_commit(commit))
die("could not parse commit %s", use_message);