Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information