projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
d91d4c2
)
apply --cached: do not check newly added file in the working tree
author
Junio C Hamano
<junkio@cox.net>
Wed, 17 May 2006 23:56:13 +0000
(16:56 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 17 May 2006 23:56:13 +0000
(16:56 -0700)
The --cached mode does not deal with the working tree, so we
should not check it with lstat. An earlier code omitted the
call to lstat but forgot to omit the check for the errno.
Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found