]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t7003-filter-branch.sh
t6030 (bisect): work around Mac OS X "ls"
[git.git] / t / t7003-filter-branch.sh
index e26f72693071ae1037ccf739b6ba2bb63ce95a21..a0ab096c8fdee153a89a1428f85c9bf107badada 100755 (executable)
@@ -38,6 +38,14 @@ test_expect_success 'result is really identical' '
        test $H = $(git rev-parse HEAD)
 '
 
+test_expect_success 'rewrite bare repository identically' '
+       (git config core.bare true && cd .git && git-filter-branch branch)
+'
+git config core.bare false
+test_expect_success 'result is really identical' '
+       test $H = $(git rev-parse HEAD)
+'
+
 test_expect_success 'rewrite, renaming a specific file' '
        git-filter-branch -f --tree-filter "mv d doh || :" HEAD
 '