Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Unify code paths of threaded greps
[gitweb.git]
/
builtin
/
send-pack.c
diff --git
a/builtin/send-pack.c
b/builtin/send-pack.c
index 6019eac9182e22f2d485acdb83be209dbc49968a..481602d8ae73612226bcc758f2aedea7f964779c 100644
(file)
--- a/
builtin/send-pack.c
+++ b/
builtin/send-pack.c
@@
-361,6
+361,10
@@
int send_pack(struct send_pack_args *args,
if (ret < 0)
return ret;
+
+ if (args->porcelain)
+ return 0;
+
for (ref = remote_refs; ref; ref = ref->next) {
switch (ref->status) {
case REF_STATUS_NONE: