X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=rerere.c;h=87360dc23e54aabf47b3bda160e58058507d4a2f;hb=6e0800ef2575751f2e20d11e2cfe305304e5e9b8;hp=713c6e16ac536eaa667cc9f22768670be129483c;hpb=7d4e3a72fb2d544b4a7cfd75f8626532d78fd726;p=git.git diff --git a/rerere.c b/rerere.c index 713c6e16a..87360dc23 100644 --- a/rerere.c +++ b/rerere.c @@ -173,7 +173,7 @@ static int handle_file(const char *path, git_SHA1_Final(sha1, &ctx); if (hunk != RR_CONTEXT) { if (output) - unlink(output); + unlink_or_warn(output); return error("Could not parse conflict hunks in %s", path); } if (wrerror)