1
0
Fork 0
mirror of synced 2024-11-22 15:25:34 -05:00

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 #297
This commit is contained in:
Marko Kaznovac 2018-09-29 20:35:33 +02:00 committed by Eric Nielsen
parent c50a0153d2
commit 1e3cee4715

7
.gitmodules vendored
View file

@ -1,21 +1,28 @@
[submodule "modules/history-substring-search/external"] [submodule "modules/history-substring-search/external"]
path = modules/history-substring-search/external path = modules/history-substring-search/external
url = https://github.com/zsh-users/zsh-history-substring-search.git url = https://github.com/zsh-users/zsh-history-substring-search.git
ignore = untracked
[submodule "modules/completion/external"] [submodule "modules/completion/external"]
path = modules/completion/external path = modules/completion/external
url = https://github.com/zsh-users/zsh-completions.git url = https://github.com/zsh-users/zsh-completions.git
ignore = untracked
[submodule "modules/syntax-highlighting/external"] [submodule "modules/syntax-highlighting/external"]
path = modules/syntax-highlighting/external path = modules/syntax-highlighting/external
url = https://github.com/zsh-users/zsh-syntax-highlighting.git url = https://github.com/zsh-users/zsh-syntax-highlighting.git
ignore = untracked
[submodule "modules/prompt/external-themes/pure"] [submodule "modules/prompt/external-themes/pure"]
path = modules/prompt/external-themes/pure path = modules/prompt/external-themes/pure
url = https://github.com/sindresorhus/pure.git url = https://github.com/sindresorhus/pure.git
ignore = untracked
[submodule "modules/prompt/external-themes/liquidprompt"] [submodule "modules/prompt/external-themes/liquidprompt"]
path = modules/prompt/external-themes/liquidprompt path = modules/prompt/external-themes/liquidprompt
url = https://github.com/nojhan/liquidprompt.git url = https://github.com/nojhan/liquidprompt.git
ignore = untracked
[submodule "modules/prompt/external-themes/lean"] [submodule "modules/prompt/external-themes/lean"]
path = modules/prompt/external-themes/lean path = modules/prompt/external-themes/lean
url = https://github.com/miekg/lean url = https://github.com/miekg/lean
ignore = untracked
[submodule "modules/autosuggestions/external"] [submodule "modules/autosuggestions/external"]
path = modules/autosuggestions/external path = modules/autosuggestions/external
url = https://github.com/zsh-users/zsh-autosuggestions.git url = https://github.com/zsh-users/zsh-autosuggestions.git
ignore = untracked