diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-07-16 11:01:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-15 10:47:20 -0700 |
commit | 1054af7d04aef64378d69a0496b45cdbf6a0bef2 (patch) | |
tree | 3387241e7b60dfaf8e8195ec4d161aa31fdb7f54 /check_bindir | |
parent | mv test: recreate mod/ directory instead of relying on stale copy (diff) | |
download | tgif-1054af7d04aef64378d69a0496b45cdbf6a0bef2.tar.xz |
wrapper.c: remove/unlink_or_warn: simplify, treat ENOENT as success
Simplify the function warn_if_unremovable slightly. Additionally, change
behaviour slightly. If we failed to remove the object because the object
does not exist, we can still return success back to the caller since none of
the callers depend on "fail if the file did not exist".
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'check_bindir')
0 files changed, 0 insertions, 0 deletions