Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule.sh: accept verbose flag in cmd_update to be non-quiet
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index ebfc09faa0d604218af8f5815af5e5fee5915158..f99b1e5790b9b6aeafaa88f438a8a50f1538c2fe 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-257,7
+257,7
@@
static int remove_one_path(const char *path)
*/
static int process_lstat_error(const char *path, int err)
{
- if (
err == ENOENT || err == ENOTDIR
)
+ if (
is_missing_file_error(err)
)
return remove_one_path(path);
return error("lstat(\"%s\"): %s", path, strerror(err));
}