fix portability problem with IS_RUN_COMMAND_ERR
commitfd94836923708581ca3f9b5c42a6d600c2f631dc
authorJeff King <peff@peff.net>
Tue, 31 Mar 2009 12:29:23 +0000 (31 08:29 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2009 18:05:54 +0000 (1 11:05 -0700)
tree7936c21440f1e4da339e5a708bc9dae7a95e1bf2
parentbf637803a799451e7feb596422932dd60f0384e1
fix portability problem with IS_RUN_COMMAND_ERR

Some old versions of gcc don't seem to like us negating an
enum constant. Let's work around it by negating the other
half of the comparison instead.

Reported by Pierre Poissinger on gcc 2.9.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.h