summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-19 08:28:47 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-19 08:28:47 (GMT)
commit3b463c3f02f83ef0bce2d5daa193459418e5258f (patch)
treeb9be594d708d5a343deece2f9f572f852e40bab7 /t
parenta9cb3c6ecb97c4734423045f47899e03f135d3bd (diff)
downloadgit-3b463c3f02f83ef0bce2d5daa193459418e5258f.zip
git-3b463c3f02f83ef0bce2d5daa193459418e5258f.tar.gz
git-3b463c3f02f83ef0bce2d5daa193459418e5258f.tar.bz2
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t3210-pack-refs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh
index a4fbfda..b1e9f2e 100755
--- a/t/t3210-pack-refs.sh
+++ b/t/t3210-pack-refs.sh
@@ -11,6 +11,8 @@ semantic is still the same.
'
. ./test-lib.sh
+echo '[core] logallrefupdates = true' >>.git/config
+
test_expect_success \
'prepare a trivial repository' \
'echo Hello > A &&