Re: bitmap creation failed
- From
Stefan Beller <sbeller@google.com>
- Date
- Sep 1, 2016, 23:37 UTC
- Message-ID
- <CAGZ79kZdk0rkmryTQzJgXvX8Jxm2=iYfB1ttPq0qRHbPgS4UsQ@mail.gmail.com>
- In-Reply-To
- <1472753809733-7657450.post@n2.nabble.com>
On Thu, Sep 1, 2016 at 11:16 AM, gjarms <gjarms@gmail.com> wrote:
Show 21 quoted lines
> Hi Git Experts, > > We have been exploring various ways to improve git cloning time, one among > them is using bitmap which is suppose to save time "counting objects". but > i have problem creating bitmap since the repository contains 100's of pack > files. the bitmap file is not created when i use "git gc". > > I have the following entries in my .gitconfig. > > [pack] > packSizeLimit = 10m > writebitmaps = on > writeBitmapHashCache = on > > If i just dont use "packSizeLimit = 10m", then bitmap is created just by > running git gc > > Can you please make me understand ?, What i understood is that the bitmap is > created when there is a single pack file, but if i split it into multiple > pack file, the bitmap generation fails with the warning > "warning: disabling bitmap writing, as some objects are not being packed".
So I guess your single pack is larger than 10m, so it tries to create multiple packs, and that is not supported as bitmaps only operate on one pack.
Stefan
Show 9 quoted lines
> > Regards, > Arumuga > > > > -- > View this message in context: http://git.661346.n2.nabble.com/bitmap-creation-failed-tp7657450.html > Sent from the git mailing list archive at Nabble.com.