summaryrefslogtreecommitdiff
path: root/builtin-prune.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-09-30 02:25:30 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-30 15:07:58 -0700
commitbc7127ef0f81d996e9691c6c898b926867aae89f (patch)
treecec66ad6ad7ecd427cb22aa826454de3d22b013c /builtin-prune.c
parentUncomment test case: git branch c/d should barf if branch c exists. (diff)
downloadtgif-bc7127ef0f81d996e9691c6c898b926867aae89f.tar.xz
ref locking: allow 'foo' when 'foo/bar' used to exist but not anymore.
It is normal to have .git/refs/heads/foo directory which is empty after the last branch whose name starts with foo/ is removed. Make sure we notice this case and allow creation of branch foo by removing the empty directory. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-prune.c')
0 files changed, 0 insertions, 0 deletions