Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: Be more careful about updating refs

From: Charles Bailey <hidden>
Date: 2016-06-15 22:44:06

Possibly related (same subject, not in this thread)

On Thu, Jan 17, 2008 at 12:58:07PM +0000, Johannes Schindelin wrote:
Just a wild guess... Could it be that the mmap() happened before contents 
were written to that fd?  The faked mmap() is just a malloc() && pread(), 
and would thus miss out on changes written after the mmap() call.
This would be my guess too.  As far as I can tell fast-import is
creating objects directly in a packfile.  I'm guessing here, but the
new checking code is probably being triggered to check (for example)
the parent ref for commits that fast-import is creating and the check
only works if mmap can successfully examine objects in the
still-being-written packfile.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help