diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2011-12-08 14:10:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-09 01:02:26 +0100 |
commit | 02380389c6d4656c0cc94d33f9811636cb5953e4 (patch) | |
tree | 254dd6b28a2f2e4da8aae2c817212e253688591a /t/t1511-rev-parse-caret.sh | |
parent | t3200 (branch): fix '&&' chaining (diff) | |
download | git-02380389c6d4656c0cc94d33f9811636cb5953e4.tar.xz git-02380389c6d4656c0cc94d33f9811636cb5953e4.zip |
test: fix '&&' chaining
Breaks in a test assertion's && chain can potentially hide failures from
earlier commands in the chain by adding " &&" at the end of line to the
commands that need them.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1511-rev-parse-caret.sh')
-rwxr-xr-x | t/t1511-rev-parse-caret.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1511-rev-parse-caret.sh b/t/t1511-rev-parse-caret.sh index e043cb7c64..eaefc777bd 100755 --- a/t/t1511-rev-parse-caret.sh +++ b/t/t1511-rev-parse-caret.sh @@ -6,7 +6,7 @@ test_description='tests for ref^{stuff}' test_expect_success 'setup' ' echo blob >a-blob && - git tag -a -m blob blob-tag `git hash-object -w a-blob` + git tag -a -m blob blob-tag `git hash-object -w a-blob` && mkdir a-tree && echo moreblobs >a-tree/another-blob && git add . && |