Commit 17f9836
gitk: Show staged submodules regardless of ignore config
Currently setting submodule.<name>.ignore and/or diff.ignoreSubmodules to
"all" suppresses all output of submodule changes for gitk. This is really
confusing, as even when the user chooses to record a new commit for an
ignored submodule by adding it manually this change won't show up under
"Local changes checked in to index but not committed".
Fix that by using the '--ignore-submodules=dirty' option for both callers
of "git diff-index --cached" when the underlying git version supports that
option.
Signed-off-by: Jens Lehmann <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>1 parent 019e163 commit 17f9836
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5206 | 5206 | | |
5207 | 5207 | | |
5208 | 5208 | | |
5209 | | - | |
| 5209 | + | |
5210 | 5210 | | |
5211 | 5211 | | |
5212 | 5212 | | |
5213 | | - | |
| 5213 | + | |
| 5214 | + | |
| 5215 | + | |
| 5216 | + | |
| 5217 | + | |
5214 | 5218 | | |
5215 | 5219 | | |
5216 | 5220 | | |
| |||
7710 | 7714 | | |
7711 | 7715 | | |
7712 | 7716 | | |
7713 | | - | |
| 7717 | + | |
7714 | 7718 | | |
7715 | 7719 | | |
7716 | 7720 | | |
| |||
7731 | 7735 | | |
7732 | 7736 | | |
7733 | 7737 | | |
| 7738 | + | |
| 7739 | + | |
| 7740 | + | |
7734 | 7741 | | |
7735 | 7742 | | |
7736 | 7743 | | |
| |||
0 commit comments