Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refspec: s/refspec_item_init/&_or_die/g
[gitweb.git]
/
builtin
/
clone.c
diff --git
a/builtin/clone.c
b/builtin/clone.c
index 8c5f4d8f074f13c62b7d6d5a3ea4deff80de2d58..05cd23097378db16e4273679e867d051b2b8c63a 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);