X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=apply.c;h=c471a82e83691b152c2b80ea25310afef9b0db95;hb=50b4e0c178777a27164eb67676593255a9cbd035;hp=9eba034e5d77bd54c7b6343ad54fb3626aa59c37;hpb=781411ed46400f95c45c5ca103769288025b39d6;p=git.git diff --git a/apply.c b/apply.c index 9eba034e..c471a82e 100644 --- a/apply.c +++ b/apply.c @@ -1635,7 +1635,8 @@ static void create_one_file(const char *path, unsigned mode, const char *buf, un } if (errno != EEXIST) break; - } + ++nr; + } } die("unable to write file %s mode %o", path, mode); }