mirror of
https://github.com/git/git.git
synced 2026-02-25 17:33:34 +00:00
Merge branch 'cc/branch-test'
* cc/branch-test: Remove empty ref directories that prevent creating a ref.
This commit is contained in:
@@ -61,4 +61,16 @@ test_expect_success \
|
||||
test -f .git/logs/refs/heads/g/h/i &&
|
||||
diff expect .git/logs/refs/heads/g/h/i'
|
||||
|
||||
test_expect_success \
|
||||
'git branch j/k should work after branch j has been deleted' \
|
||||
'git-branch j &&
|
||||
git-branch -d j &&
|
||||
git-branch j/k'
|
||||
|
||||
test_expect_success \
|
||||
'git branch l should work after branch l/m has been deleted' \
|
||||
'git-branch l/m &&
|
||||
git-branch -d l/m &&
|
||||
git-branch l'
|
||||
|
||||
test_done
|
||||
|
||||
Reference in New Issue
Block a user