aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2007-11-27 13:10:19 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-30 14:16:52 -0800
commitfdd7d48d6a09c593a68c983c450443c1e55705e6 (patch)
tree1c7b5ad953c19ec50ad90c25f4ea10b9f5fd6cee /t
parent38762c47d6442dc0ce0f45533f9151877c485337 (diff)
downloadgit-fdd7d48d6a09c593a68c983c450443c1e55705e6.tar.gz
git-fdd7d48d6a09c593a68c983c450443c1e55705e6.tar.xz
t7003-filter-branch: Fix test of a failing --msg-filter.
The test passed for the wrong reason: If the script given to --msg-filter fails, it is expected that git-filter-branch aborts. But the test forgot to tell the branch name to rewrite, and so git-filter-branch failed due to incorrect usage. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t7003-filter-branch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7003-filter-branch.sh b/t/t7003-filter-branch.sh
index 2089351f7..5f60b22d8 100755
--- a/t/t7003-filter-branch.sh
+++ b/t/t7003-filter-branch.sh
@@ -114,7 +114,7 @@ test_expect_success 'use index-filter to move into a subdirectory' '
test_expect_success 'stops when msg filter fails' '
old=$(git rev-parse HEAD) &&
- ! git-filter-branch -f --msg-filter false &&
+ ! git-filter-branch -f --msg-filter false HEAD &&
test $old = $(git rev-parse HEAD) &&
rm -rf .git-rewrite
'