summaryrefslogtreecommitdiff
path: root/t/t7003-filter-branch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-03-12 21:45:21 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-03-12 21:45:21 -0700
commit592ebd087a1b33fe93dcd20a1466bc4d119d1c42 (patch)
tree1fa71a18917f28e68e356d30f8e8f288d48ed746 /t/t7003-filter-branch.sh
parentMerge branch 'jc/maint-1.6.1-add-u-remove-conflicted' into maint-1.6.1 (diff)
parentfilter-branch: Fix fatal error on bare repositories (diff)
downloadtgif-592ebd087a1b33fe93dcd20a1466bc4d119d1c42.tar.xz
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/t7003-filter-branch.sh')
-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' '