Re: Be more careful about updating refs
- From
Charles Bailey <charles@hashpling.org>
- Date
- Jan 17, 2008, 11:01 UTC
- Message-ID
- <20080117110132.GB12285@hashpling.org>
- In-Reply-To
- <478F3367.8050307@viscovery.net>
On Thu, Jan 17, 2008 at 11:52:23AM +0100, Johannes Sixt wrote:
Show 7 quoted lines
> > I observed the same (on Windows). The reason is that above-mentioned > commit introduces a call to parse_objects(). But by the time that > fast-import calls write_ref_sha1() (and, hence, this new parse_objects()) > it has not yet written a pack file, and parse_objects() fails. I don't > have a clue how to fix this short of reverting the commit. >
OK, so it's not just Mac OS X, then. From your description and my initial poke at the code, I can't immediately see a good reason why the test should succeed on Linux, though.