]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5533-push-cas.sh
t: avoid using ":" for comments
authorJeff King <peff@peff.net>
Fri, 20 Mar 2015 10:12:37 +0000 (06:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Mar 2015 17:20:16 +0000 (10:20 -0700)
commit53350a35a3c29417dfc64ae2b0d7a16ba43d1239
treebc56756a5f7c5b57515c3481acc476c9692073de
parent9ddc5ac97ecdd03ceda4b6e3ff20a7524a9f0f8d
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>
t/t4104-apply-boundary.sh
t/t5533-push-cas.sh