Re: [PATCH 8/8] read-cache: inform the daemon that the index has been updated

2014-05-22 Thread David Turner
On Tue, 2014-05-13 at 18:15 +0700, Nguyễn Thái Ngọc Duy wrote: + if (run_command(cp)) + warning(_(failed to start read-cache--daemon: %s), + strerror(errno)); errno is not always (ever?) set, so if read-cache--daemon is missing, you

[PATCH 8/8] read-cache: inform the daemon that the index has been updated

2014-05-13 Thread Nguyễn Thái Ngọc Duy
The daemon would immediately load the new index in memory in background. Next time Git needs to read the index again, everything is ready. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- cache.h | 1 + read-cache.c | 53 - 2

Re: [PATCH 8/8] read-cache: inform the daemon that the index has been updated

2014-05-13 Thread Erik Faye-Lund
On Tue, May 13, 2014 at 1:15 PM, Nguyễn Thái Ngọc Duy pclo...@gmail.com wrote: The daemon would immediately load the new index in memory in background. Next time Git needs to read the index again, everything is ready. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- cache.h |