Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
archive: don't let remote clients get unreachable commits
[gitweb.git]
/
builtin-upload-archive.c
diff --git
a/builtin-upload-archive.c
b/builtin-upload-archive.c
index a9b02fa32f372a6810867c10560a20d58b5b2a91..47efadc46554982f8b35029d8b0b6e45dcc0b60d 100644
(file)
--- a/
builtin-upload-archive.c
+++ b/
builtin-upload-archive.c
@@
-64,7
+64,7
@@
static int run_upload_archive(int argc, const char **argv, const char *prefix)
sent_argv[sent_argc] = NULL;
/* parse all options sent by the client */
- return write_archive(sent_argc, sent_argv, prefix, 0);
+ return write_archive(sent_argc, sent_argv, prefix, 0
, 1
);
}
static void error_clnt(const char *fmt, ...)