Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
status: do not get confused by submodules in excluded directories
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index 31f9343f9fcf57a89cab519f284cf2e0a767744d..f279bc4cf59d3dea75e16f4f62aeafb790958098 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-1362,7
+1362,7
@@
static enum path_treatment treat_directory(struct dir_struct *dir,
if (!(dir->flags & DIR_NO_GITLINKS)) {
unsigned char sha1[20];
if (resolve_gitlink_ref(dirname, "HEAD", sha1) == 0)
- return path_untracked;
+ return
exclude ? path_excluded :
path_untracked;
}
return path_recurse;
}