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) | ||
commit | d91d4c2c500b17d50359693a406a2c68b65330fe | |
tree | aecd6264519055a37978e546b1bddc39e9130190 | tree | snapshot |
parent | b7627278e200d8a80df6ee437b1a01d88f2b4883 | commit | diff |
apply --cached: do not check newly added file in the working tree
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>
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>
apply.c | diff | blob | history |