diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-09-26 08:31:56 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-09-26 08:31:56 -0700 |
commit | 15dc66abf02fa22a03d709725bcaeeec4b809834 (patch) | |
tree | ec812826aea20a20624ad6de5933941582634652 /t | |
parent | eb53586ba94087d9750c58d29ff494e5c1a95207 (diff) | |
parent | 41f13af558db1018250ade4d99a51f0b76f65bc8 (diff) | |
download | git-15dc66abf02fa22a03d709725bcaeeec4b809834.tar.gz |
Merge branch 'maint'
* maint:
Remove empty directories in recursive merge
Documentation: clarify the details of overriding LESS via core.pager
Conflicts:
builtin-merge-recursive.c
Diffstat (limited to 't')
-rwxr-xr-x | t/t3030-merge-recursive.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/t3030-merge-recursive.sh b/t/t3030-merge-recursive.sh index de0cdb1cf4..0de613dc53 100755 --- a/t/t3030-merge-recursive.sh +++ b/t/t3030-merge-recursive.sh @@ -535,4 +535,15 @@ test_expect_success 'reset and bind merge' ' ' +test_expect_success 'merge removes empty directories' ' + + git reset --hard master && + git checkout -b rm && + git rm d/e && + git commit -mremoved-d/e && + git checkout master && + git merge -s recursive rm && + test_must_fail test -d d +' + test_done |