From: Derrick Stolee Date: Fri, 05 Feb 2021 12:31:47 GMT Subject: Re: [PATCH v2 16/17] chunk-format: restore duplicate chunk checks Message-ID: <0b851243-e4c0-856e-05c3-eb670739cf6b@gmail.com> In-Reply-To: On 2/4/2021 7:05 PM, Junio C Hamano wrote: > "Derrick Stolee via GitGitGadget" writes: >> const void *start; >> + unsigned found:1; > > This defines a .found member ... >> ... and no new code touches it. > > The way duplicate is found is by having a inner loop that checks the > IDs of chunks we've seen so far (quadratic, but presumably that > would not matter as long as we'd be dealing with just half a dozen > chunk types). > > Is the .found bit used for something else and needs to be added in a > different step? Nope. It is just noise that I should have caught and deleted. Thanks, -Stolee