From: Stefan Beller Date: Wed, 25 Nov 2015 18:43:27 GMT Subject: Re: [PATCH 1/3] prepare_packed_git(): find more garbage Message-ID: In-Reply-To: <1447461987-35450-1-git-send-email-dougk.ff7@gmail.com> On Fri, Nov 13, 2015 at 4:46 PM, Doug Kelly wrote: > return "no corresponding .idx"; > - case PACKDIR_FILE_IDX: > + else if (seen_bits & PACKDIR_FILE_IDX && seen_bits ^ ~PACKDIR_FILE_PACK) Did you intend to use (seen_bits & PACKDIR_FILE_IDX && !(seen_bits & PACKDIR_FILE_PACK)) here? I was just looking at the state in peff/pu and it still has the xor variant, which exposes more than just the selected bit to the decision IIRC.