git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [patch] munmap-before-rename, cygwin need

From
Junio C Hamano <junkio@cox.net>
Date
May 8, 2006, 20:51 UTC
Message-ID
<7vmzdsfdfl.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<f36b08ee0605080747r24668152t20cc406e017454a9@mail.gmail.com>
"Yakov Lerner" <iler.ml@gmail.com> writes:
> You are right. Apply did not work when I gave it more than one
> patchfile on commandline (and --index option). I fixed this by
> zeroing active_nr and freeing active_cache in
> unmap_cache().

I suspect that essentially means you are forcing the cache to be read again after writing it out, in which case I think you are better off using NO_MMAP as Alex suggests.

Previous: Yakov LernerNext: Junio C Hamano
Message 5 of 6 in “munmap-before-rename, cygwin need”
  1. munmap-before-rename, cygwin needYakov Lerner, May 7, 2006
  2. Junio C HamanoMay 7, 2006
  3. Yakov LernerMay 8, 2006
  4. Yakov LernerMay 8, 2006
  5. Junio C HamanoMay 8, 2006
  6. Junio C HamanoMay 8, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.