RE: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed

2012-09-07 Thread Joachim Schmitz
> From: Thomas Gummerer [mailto:t.gumme...@gmail.com] > Sent: Monday, August 27, 2012 11:40 AM > To: Joachim Schmitz > Cc: git@vger.kernel.org > Subject: Re: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file > changed > > On 08/25, Joachim Schmitz wro

Re: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed

2012-08-27 Thread Thomas Gummerer
On 08/25, Joachim Schmitz wrote: > "Thomas Gummerer" schrieb im Newsbeitrag > news:<134529-6925-3-git-send-email-t.gumme...@gmail.com>... > > [...] > > + usleep(10*1000); > > usleep() is not available to anybody, e.g. it is not in HP NonStop (not in > every case at least) > > Bye

Re: [PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed

2012-08-25 Thread Joachim Schmitz
"Thomas Gummerer" schrieb im Newsbeitrag news:<134529-6925-3-git-send-email-t.gumme...@gmail.com>... > Add the possibility of re-reading the index file, if it changed > while reading. > > The index file might change during the read, causing outdated > information to be displayed. We check if

[PATCH/RFC v4 02/13] read-cache.c: Re-read index if index file changed

2012-08-16 Thread Thomas Gummerer
Add the possibility of re-reading the index file, if it changed while reading. The index file might change during the read, causing outdated information to be displayed. We check if the index file changed by using its stat data as heuristic. Signed-off-by: Thomas Gummerer --- read-cache.c | 87