Re: [PATCH 2/2] t4203: stop losing return codes of git commands
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jan 15, 2021, 00:20 UTC
- Message-ID
- <87turj3van.fsf@evledraar.gmail.com>
- In-Reply-To
- <b31347c9f5d70fd8479ba37d82c75d5131bc1ca0.1610665323.git.liu.denton@gmail.com>
On Fri, Jan 15 2021, Denton Liu wrote:
> In a pipe, only the return code of the last command is used. Thus, all > other commands will have their return codes masked. Rewrite pipes so > that there are no git commands upstream so that their failure is > reported.
I tried to fix this in a much harder way today :) https://lore.kernel.org/git/20210114233515.31298-1-avarab@gmail.com/
But this is both easier and obviously correct, thanks!