Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
OK, let's say I'm convinced ;-).
I did, but previously, I kept the code that "die()"s if the first call
to remove_file() "fails". In remove_file_maybe(), not removing a file
because it's not sure it's safe to delete it is not a failure, so I
had to put a "return 0;" here to avoid the fatal error. My first patch
had return status !=0 if we tried to remove the file, and it failed. I
changed that.
I had posted the patch for info, but I did expect this one to get
lost, since it's definitely not complete.
I'll post an updated patch with a testcase and an appropriate subject
line within a few days (I don't have time right now).
Thanks,
--
Matthieu
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html