Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stash: update documentation to use 'stash entry'
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 2982bf055acb6049a8cd6007244d60d985b7e619..76c8f185cd032b92e010b95e4d92e3b08a6ab18a 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-29,7
+29,7
@@
static int check_removed(const struct cache_entry *ce, struct stat *st)
{
if (lstat(ce->name, st) < 0) {
- if (
errno != ENOENT && errno != ENOTDIR
)
+ if (
!is_missing_file_error(errno)
)
return -1;
return 1;
}