diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-01-18 23:48:56 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-21 13:46:32 -0800 |
commit | ecb2c282c0d6cdd9938ba9cf228316ebc91b397e (patch) | |
tree | 4483f19a2e45868e62fcbaf2ccfd19513baf8889 /test-delta.c | |
parent | e5c223e98b985d9faa274039aefa4391d2da25a6 (diff) | |
download | git-ecb2c282c0d6cdd9938ba9cf228316ebc91b397e.tar.gz |
remove_dir_recurse(): tighten condition for removing unreadable dir
If opendir() fails on the top-level directory, it makes sense to try
to delete it anyway--but only if the failure was due to EACCES.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-delta.c')
0 files changed, 0 insertions, 0 deletions