login
Header Space

 
 

Re: [PATCH 01/02/RFC] implement a stat cache

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Luciano Rocha <luciano@...>, Pieter de Bie <pdebie@...>, <git@...>
Date: Monday, April 21, 2008 - 4:06 pm

Linus Torvalds <torvalds@linux-foundation.org> writes:


Yeah, and we could return which component in the given path is the
offending one at the same time.

In the above example, we would say "No, a/b/c/d/e does not exist because
a/b is a symlink".  But would that be enough, I have to wonder.  lstat(2)
may have already said "There is no a/b/c/d/f" in the same example, but we
still need to know "a/b" is an unwanted symbolic link if the reason we are
asking that question is because we would want to check out "a/b/c/d/f".

So the answer need to be "a/b/c/d/f" (does not exist|exists in the work
tree), and it cannot exist because "a/b" is a symlink for such a caller.

But when we are trying to git-add, we simply do not care such
distinction.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Git performance on OS X, Pieter de Bie, (Sat Apr 19, 3:28 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 5:54 pm)
Re: Git performance on OS X, Pieter de Bie, (Sat Apr 19, 6:00 pm)
Re: Git performance on OS X, Jakub Narebski, (Sat Apr 19, 6:44 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 6:50 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 7:04 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 6:54 pm)
Re: Git performance on OS X, Pieter de Bie, (Sat Apr 19, 7:10 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 7:26 pm)
Re: Git performance on OS X, Pieter de Bie, (Sat Apr 19, 7:56 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 8:31 pm)
Re: Git performance on OS X, David Kastrup, (Sun Apr 20, 12:22 pm)
Re: Git performance on OS X, Dmitry Potapov, (Sat Apr 19, 9:23 pm)
Re: Git performance on OS X, Roman Shaposhnik, (Sat Apr 19, 7:35 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 8:06 pm)
Re: Git performance on OS X, Roman Shaposhnik, (Sat Apr 19, 8:21 pm)
Re: Git performance on OS X, Pieter de Bie, (Sat Apr 19, 7:57 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 6:39 pm)
[PATCH 01/02/RFC] implement a stat cache, Luciano Rocha, (Sun Apr 20, 7:13 am)
Re: [PATCH 01/02/RFC] implement a stat cache, Linus Torvalds, (Sun Apr 20, 12:03 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Luciano Rocha, (Sun Apr 20, 6:04 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Linus Torvalds, (Sun Apr 20, 6:29 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, David Kastrup, (Mon Apr 21, 6:04 am)
Re: [PATCH 01/02/RFC] implement a stat cache, Linus Torvalds, (Sun Apr 20, 7:07 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Junio C Hamano, (Sun Apr 20, 9:21 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Linus Torvalds, (Sun Apr 20, 11:15 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Junio C Hamano, (Mon Apr 21, 2:27 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Linus Torvalds, (Mon Apr 21, 3:09 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Junio C Hamano, (Mon Apr 21, 4:06 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Linus Torvalds, (Sun Apr 20, 11:20 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Dmitry Potapov, (Sun Apr 20, 8:53 pm)
Re: [PATCH 01/02/RFC] implement a stat cache, Johan Herland, (Mon Apr 21, 4:41 am)
Re: [PATCH 01/02/RFC] implement a stat cache, Luciano Rocha, (Sun Apr 20, 7:18 am)
[PATCH 02/02/RFC] make use of the stat cache, Luciano Rocha, (Sun Apr 20, 7:15 am)
Re: Git performance on OS X, Junio C Hamano, (Sun Apr 20, 12:14 am)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 5:22 pm)
Re: Git performance on OS X, Linus Torvalds, (Sat Apr 19, 5:29 pm)
Re: Git performance on OS X, David Kastrup, (Sun Apr 20, 12:17 pm)
Re: Git performance on OS X, Pieter de Bie, (Sat Apr 19, 6:08 pm)
speck-geostationary