X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-send-pack.c;h=078bc3e8ec2c19f7fc5e8688cccd3ac4679c7a51;hb=77555854be6e7fbce07c9ded30ea859b54699be0;hp=76c72065de73ea3f0da4665c0a47a64610e2ead2;hpb=77b3b7969d1a817e28639dc75305a9e301f0d4b4;p=git.git diff --git a/builtin-send-pack.c b/builtin-send-pack.c index 76c72065d..078bc3e8e 100644 --- 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: