Re: [PATCH v2 5/5] cache-tree: avoid an unnecessary check
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 7, 2024, 16:58 UTC
- Message-ID
- <xmqqwmrgb49a.fsf@gitster.g>
- In-Reply-To
- <43c04749513d07733f5fa2c15a694d99d31fe6e3.1707324462.git.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de> > > The first thing the `parse_tree()` function does is to return early if > the tree has already been parsed. Therefore we do not need to guard the > `parse_tree()` call behind a check of that flag.
Makes sense, and it doubly makes sense to keep this separate from the change done to the same location in [4/5].
Will queue.