summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38762c4)
raw | patch | inline | side by side (parent: 38762c4)
author | Johannes Sixt <johannes.sixt@telecom.at> | |
Tue, 27 Nov 2007 12:10:19 +0000 (13:10 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 30 Nov 2007 22:16:52 +0000 (14:16 -0800) |
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>
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>
t/t7003-filter-branch.sh | patch | blob | history |
index 2089351f7d157ce96a07ed1c6c1465fc58819ec0..5f60b22d872b5d034e137e0c6c7c5a9d664e57ee 100755 (executable)
--- a/t/t7003-filter-branch.sh
+++ b/t/t7003-filter-branch.sh
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
'