diff options
author | Jeff King <peff@peff.net> | 2015-03-20 06:12:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-20 10:20:16 -0700 |
commit | 53350a35a3c29417dfc64ae2b0d7a16ba43d1239 (patch) | |
tree | bc56756a5f7c5b57515c3481acc476c9692073de /t/t5533-push-cas.sh | |
parent | 9ddc5ac97ecdd03ceda4b6e3ff20a7524a9f0f8d (diff) | |
download | git-53350a35a3c29417dfc64ae2b0d7a16ba43d1239.tar.gz |
t: avoid using ":" for comments
The ":" is not a comment marker, but rather a noop command.
Using it as a comment like:
: do something
cmd1 &&
: something else
cmd2
breaks the &&-chain, and we would fail to notice if "cmd1"
failed in this instance. We can just use regular "#"
comments instead.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5533-push-cas.sh')
-rwxr-xr-x | t/t5533-push-cas.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5533-push-cas.sh b/t/t5533-push-cas.sh index dccf8a672e..c402d8d3d7 100755 --- a/t/t5533-push-cas.sh +++ b/t/t5533-push-cas.sh @@ -14,7 +14,7 @@ setup_srcdst_basic () { } test_expect_success setup ' - : create template repository + # create template repository test_commit A && test_commit B && test_commit C |