Community
Participate
Working Groups
Created attachment 283611 [details] Example source file demonstrating the problem If I have a git repository and if I create an other git repo under that one (either a sub module or a git repository), then files modified under that repository are never filtered in `Git.status` even if I `.addPath` something unrelated. See attanched file for an example to reproduce with JGit 5.8.0.
Yes, IndexDiff.diff() should probably propagate the filter also to its SubmoduleWalk by doing if (filter != null) smw.setFilter(filter) after line 570.
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/166458
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/191515
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/191515 was merged to [stable-6.1]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=72ae234e79aca7f3f6a5e78e3c9c9ac6a127bba9