X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=send-pack.c;h=5bc2f017bca8e9c92352b19469b3c1021844ddec;hb=e4e79a217576d24ef4d73b620766f62b155bcd98;hp=a41bbe5ecfdff6fd7cea1bfc3d3415ba57867f2b;hpb=41f93a2c903a45167b26c2dc93d45ffa9a9bbd49;p=git.git diff --git a/send-pack.c b/send-pack.c index a41bbe5e..5bc2f017 100644 --- a/send-pack.c +++ b/send-pack.c @@ -272,7 +272,7 @@ static int send_pack(int in, int out, int nr_refspec, char **refspec) packet_flush(out); if (new_refs) pack_objects(out, remote_refs); - else + else if (ret == 0) fprintf(stderr, "Everything up-to-date\n"); close(out); return ret;