aboutsummaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-01-18 23:48:57 +0100
committerJunio C Hamano <gitster@pobox.com>2014-01-21 13:46:47 -0800
commit863808cd1a7bd23dc12a3b54e32eb3f25d9487bc (patch)
tree5bde88296a381075a2224b8009366e507a9d663c /refs.c
parentecb2c282c0d6cdd9938ba9cf228316ebc91b397e (diff)
downloadgit-863808cd1a7bd23dc12a3b54e32eb3f25d9487bc.tar.gz
git-863808cd1a7bd23dc12a3b54e32eb3f25d9487bc.tar.xz
remove_dir_recurse(): handle disappearing files and directories
If a file or directory that we are trying to remove disappears (e.g., because another process has pruned it), do not consider it an error. However, if REMOVE_DIR_KEEP_TOPLEVEL is set, and the toplevel directory is missing, then consider it an error (like before). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
0 files changed, 0 insertions, 0 deletions