Re: [WIP/PATCH] Teach fast-import to print the id of each imported commit
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 2, 2010, 03:41 UTC
- Message-ID
- <20100702034125.GA7209@burratino>
- In-Reply-To
- <AANLkTim2DnettF2gNTQVaJvrpzwrTP_-HWTp8l6R5TVc@mail.gmail.com>
Sverre Rabbelier wrote:
> This I don't understand, as soon as the object is written wouldn't it > be available in .git/objects?
fast-import writes objects directly to pack --- part of the secret to its speed.
See store_object() in fast-import.c, or you can play around with the test from my WIP patch to try it out (removing the ‘sleep 1’).