X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=local-pull.c;h=3a342ab18390d7ce0df1f970a4961b31548a9417;hb=8ac866a869a61d382486ace6ea39f9741d9159f8;hp=1eec8927dbfa3af934651b25ded738d192706286;hpb=e78d97723cd77d46d8767a5a27965077249fd080;p=git.git diff --git a/local-pull.c b/local-pull.c index 1eec8927..3a342ab1 100644 --- a/local-pull.c +++ b/local-pull.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "cache.h" #include "commit.h" #include @@ -70,8 +71,7 @@ int fetch(unsigned char *sha1) munmap(map, st.st_size); close(ofd); if (status) - fprintf(stderr, "cannot write %s (%ld bytes)\n", - dest_filename, st.st_size); + fprintf(stderr, "cannot write %s\n", dest_filename); else pull_say("copy %s\n", hex); return status;