Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Second batch for 2.19 cycle
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index 99e73dae8595d37f704d0fe7f7fd84a190edfcf6..74a804f2e814b726c95e8f572f91eba581c6ca4b 100644
(file)
--- a/
builtin/clone.c
+++ b/
builtin/clone.c
@@
-1077,7
+1077,7
@@
int cmd_clone(int argc, const char **argv, const char *prefix)
if (option_required_reference.nr || option_optional_reference.nr)
setup_reference();
- refspec_item_init(&refspec, value.buf, REFSPEC_FETCH);
+ refspec_item_init
_or_die
(&refspec, value.buf, REFSPEC_FETCH);
strbuf_reset(&value);