Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Doc fix for git-reflog: mention @{...} syntax, and <ref> in synopsys.
[gitweb.git]
/
builtin-fetch--tool.c
diff --git
a/builtin-fetch--tool.c
b/builtin-fetch--tool.c
index e2f8ede9ae4507ed1e431f9d14fc649f6475627d..db133348a8f7f52a7f246aeb7f61a6cacbd8e3cb 100644
(file)
--- a/
builtin-fetch--tool.c
+++ b/
builtin-fetch--tool.c
@@
-148,7
+148,7
@@
static int append_fetch_head(FILE *fp,
if (get_sha1(head, sha1))
return error("Not a valid object name: %s", head);
- commit = lookup_commit_reference
(sha
1);
+ commit = lookup_commit_reference
_gently(sha1,
1);
if (!commit)
not_for_merge = 1;