Re: [PATCH v3 2/2] Ensure git ls-tree exits with a non-zero exit code if read_tree_recursive fails.
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Jul 25, 2011, 16:17 UTC
- Message-ID
- <m239hugwrx.fsf@igel.home>
- In-Reply-To
- <CAH3Anrrbj93briHKpxEjpoVTOnSikQYQyxa4R=C7QKt=punyVw@mail.gmail.com>
Jon Seymour <jon.seymour@gmail.com> writes:
> + return ret ? 1 : 0;
return ret != 0;
return !!ret;Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."