apply: remove directory that becomes empty by renaming the last file away
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 5 Aug 2007 04:48:08 +0000 (21:48 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Aug 2007 08:36:59 +0000 (01:36 -0700)
commit93969438dca50c7f0039fcf35e7ab82776d4122f
tree26c48b6cba5b173ecd065e5173141b145b2bfdd7
parent33a798c880f9a8bed1fe95531349e5e5ef1e0cd2
apply: remove directory that becomes empty by renaming the last file away

We attempt to remove directory that becomes empty after removal
of a file.  We should do the same when we rename an existing
file away.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c