X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=send-pack.c;fp=send-pack.c;h=5bc2f017bca8e9c92352b19469b3c1021844ddec;hb=9470657ad0d0472e3e3c2e352334f60e7bd777c1;hp=a41bbe5ecfdff6fd7cea1bfc3d3415ba57867f2b;hpb=455c161c47542de7e67d2ba48bba637e5a645388;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;