summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-03-12 21:45:21 -0700
committerJunio C Hamano <gitster@pobox.com>2009-03-12 21:45:21 -0700
commit592ebd087a1b33fe93dcd20a1466bc4d119d1c42 (patch)
tree1fa71a18917f28e68e356d30f8e8f288d48ed746 /t
parentd9b04430d238be1fe75ef97e3455c65ca72a7fa0 (diff)
parent9273b56278e64dd47b1a96a705ddf46aeaf6afe3 (diff)
downloadgit-592ebd087a1b33fe93dcd20a1466bc4d119d1c42.tar.gz
Merge branch 'ek/maint-1.6.1-filter-branch-bare' into maint-1.6.1
* ek/maint-1.6.1-filter-branch-bare: filter-branch: Fix fatal error on bare repositories
Diffstat (limited to 't')
-rwxr-xr-xt/t7003-filter-branch.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t7003-filter-branch.sh b/t/t7003-filter-branch.sh
index b0a9d7d536..6a9936e5c4 100755
--- a/t/t7003-filter-branch.sh
+++ b/t/t7003-filter-branch.sh
@@ -39,7 +39,9 @@ test_expect_success 'result is really identical' '
'
test_expect_success 'rewrite bare repository identically' '
- (git config core.bare true && cd .git && git filter-branch branch)
+ (git config core.bare true && cd .git &&
+ git filter-branch branch > filter-output 2>&1 &&
+ ! fgrep fatal filter-output)
'
git config core.bare false
test_expect_success 'result is really identical' '