Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs.c: change resolve_ref_unsafe reading argument to be a flags field
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index d3bf9532d60fd52dfb440fc991e91544e8353fbe..7f509d06a81dca46ceeba0b15c48453c9a20fe6f 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-623,7
+623,7
@@
static int checkout(void)
if (option_no_checkout)
return 0;
- head = resolve_refdup("HEAD",
sha1,
1, NULL);
+ head = resolve_refdup("HEAD",
RESOLVE_REF_READING, sha
1, NULL);
if (!head) {
warning(_("remote HEAD refers to nonexistent ref, "
"unable to checkout.\n"));