diff options
author | Jeff King <peff@peff.net> | 2008-05-14 06:01:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-14 06:44:48 +0200 |
commit | bbf08124e0a87658a76b53a05d67227fa3b4e7b9 (patch) | |
tree | e3eb0c8faee5837f0f0eefb8f831c068f67a2705 /t/t9119-git-svn-info.sh | |
parent | Improve reporting of errors in config file routines (diff) | |
download | git-bbf08124e0a87658a76b53a05d67227fa3b4e7b9.tar.xz git-bbf08124e0a87658a76b53a05d67227fa3b4e7b9.zip |
fix bsd shell negation
On some shells (notably /bin/sh on FreeBSD 6.1), the
construct
foo && ! bar | baz
is true if
foo && baz
whereas for most other shells (such as bash) is true if
foo && ! baz
We can work around this by specifying
foo && ! (bar | baz)
which works everywhere.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9119-git-svn-info.sh')
0 files changed, 0 insertions, 0 deletions