Re: [PATCH v3 10/13] t4014: stop losing return codes of git commands
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Aug 20, 2019, 19:04 UTC
- Message-ID
- <34a613d0-2ac0-b642-b14d-59ca4ef2738e@kdbg.org>
- In-Reply-To
- <20190820073130.GA32049@archbookpro.localdomain>
Am 20.08.19 um 09:31 schrieb Denton Liu:
> Oops, this should read > > git_version="$(git --version >version && sed "s/.* //" <version)"
sed is not necessary. Make that
git_version=$(git --version) &&
git_version=${git_version##* }-- Hannes