Re: [PATCH 2/4] fsck: check rev-index checksums
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 17, 2023, 22:15 UTC
- Message-ID
- <xmqqwn2ai291.fsf@gitster.g>
- In-Reply-To
- <7db4ec3e327ed3695f4f5409cb2dc80c72688758.1681748502.git.gitgitgadget@gmail.com>
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 7 quoted lines
> +corrupt_rev_and_verify () {
> + (
> + pos="$1" &&
> +...
> + grep "$error" err
> + )
> +}Curious. Would it work equally well to write
corrupt_rev_and_verify () ( pos="$1" && ... grep "$error" err )
without an extra level of indentation?