Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-push: make git push --porcelain print "Done"
[gitweb.git]
/
builtin-send-pack.c
diff --git
a/builtin-send-pack.c
b/builtin-send-pack.c
index 76c72065de73ea3f0da4665c0a47a64610e2ead2..078bc3e8ec2c19f7fc5e8688cccd3ac4679c7a51 100644
(file)
--- a/
builtin-send-pack.c
+++ b/
builtin-send-pack.c
@@
-476,6
+476,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: