From: Jeff King Date: Tue, 12 Mar 2019 12:05:50 GMT Subject: Re: [PATCH] repack: enable bitmaps by default on bare repos Message-ID: <20190312120550.GA7020@sigill.intra.peff.net> In-Reply-To: <20190312104954.GA2023@sigill.intra.peff.net> On Tue, Mar 12, 2019 at 06:49:54AM -0400, Jeff King wrote: > I'm not sure what we're trying to accomplish with this unpacking, > though. Running "git repack -ad" should generate bitmaps whether the > objects were already in a single pack or not. So I think this test can > just be: > > git clone --bare . bare.git && > git -C bare.git repack -ad && > bitmap=$(ls objects/pack/*.bitmap) > test_path_is_file "$bitmap" Of course that should be "bare.git/objects/pack/*.bitmap" in the third line, since we skipped the "cd" entirely. -Peff