Skip to content

Commit 1e3cee4

Browse files
kaznovacericbn
authored andcommittedNov 27, 2018
Don't track new files in submodules from main repo
Prevent main repo `git status` reporting submodules having new files. New files are usually zcompiled zsh files. There's no way to .gitignore from main repo specific files in submodules Closes zimfw#297
1 parent c50a015 commit 1e3cee4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎.gitmodules

+7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
[submodule "modules/history-substring-search/external"]
22
path = modules/history-substring-search/external
33
url = https://github.com/zsh-users/zsh-history-substring-search.git
4+
ignore = untracked
45
[submodule "modules/completion/external"]
56
path = modules/completion/external
67
url = https://github.com/zsh-users/zsh-completions.git
8+
ignore = untracked
79
[submodule "modules/syntax-highlighting/external"]
810
path = modules/syntax-highlighting/external
911
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
12+
ignore = untracked
1013
[submodule "modules/prompt/external-themes/pure"]
1114
path = modules/prompt/external-themes/pure
1215
url = https://github.com/sindresorhus/pure.git
16+
ignore = untracked
1317
[submodule "modules/prompt/external-themes/liquidprompt"]
1418
path = modules/prompt/external-themes/liquidprompt
1519
url = https://github.com/nojhan/liquidprompt.git
20+
ignore = untracked
1621
[submodule "modules/prompt/external-themes/lean"]
1722
path = modules/prompt/external-themes/lean
1823
url = https://github.com/miekg/lean
24+
ignore = untracked
1925
[submodule "modules/autosuggestions/external"]
2026
path = modules/autosuggestions/external
2127
url = https://github.com/zsh-users/zsh-autosuggestions.git
28+
ignore = untracked

0 commit comments

Comments
 (0)