]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-send-pack.c
git-push: make git push --porcelain print "Done"
[git.git] / builtin-send-pack.c
index 76c72065de73ea3f0da4665c0a47a64610e2ead2..078bc3e8ec2c19f7fc5e8688cccd3ac4679c7a51 100644 (file)
@@ -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: