Code

ref-log: fix D/F conflict coming from deleted refs.
authorJunio C Hamano <junkio@cox.net>
Thu, 19 Oct 2006 08:28:47 +0000 (01:28 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 19 Oct 2006 08:28:47 +0000 (01:28 -0700)
commit3b463c3f02f83ef0bce2d5daa193459418e5258f
treeb9be594d708d5a343deece2f9f572f852e40bab7
parenta9cb3c6ecb97c4734423045f47899e03f135d3bd
ref-log: fix D/F conflict coming from deleted refs.

After deleting a branch l/k, you should be able to create a
branch l.  Earlier we added remove_empty_directories() on the
ref creation side to remove leftover .git/refs/l directory but
we also need a matching code to remove .git/logs/refs/l
directory.

Signed-off-by: Junio C Hamano <junkio@cox.net>
refs.c
t/t3210-pack-refs.sh