Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
archive: fix subst file generation
[gitweb.git]
/
builtin-checkout-index.c
diff --git
a/builtin-checkout-index.c
b/builtin-checkout-index.c
index 75377b9cab75ac75c6d5d7f79fdcf64bdb27cff2..153ba7dc129d54f09268aa70ab523946007c2821 100644
(file)
--- a/
builtin-checkout-index.c
+++ b/
builtin-checkout-index.c
@@
-274,7
+274,7
@@
int cmd_checkout_index(int argc, const char **argv, const char *prefix)
struct strbuf buf;
if (all)
die("git-checkout-index: don't mix '--all' and '--stdin'");
- strbuf_init(&buf);
+ strbuf_init(&buf
, 0
);
while (1) {
char *path_name;
const char *p;