1
0
Fork 0

[gitmodules] ignore dirty modules to make it easier for users

When trying to add changes line by line by running `git add -p` the
user is prompted every time for each of the submodules, even if
there are no real changes to any of their directories.

Ignore them if dirty to be less annoying to people trying to add
changes by line.
pull/1359/head
Samantha McVey 7 years ago
parent dbe9a5ea28
commit fc7e2c73cb
No known key found for this signature in database
GPG Key ID: A68DF012C3881D62

7
.gitmodules vendored

@ -1,21 +1,28 @@
[submodule "modules/autosuggestions/external"] [submodule "modules/autosuggestions/external"]
path = modules/autosuggestions/external path = modules/autosuggestions/external
url = https://github.com/zsh-users/zsh-autosuggestions url = https://github.com/zsh-users/zsh-autosuggestions
ignore = dirty
[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 = dirty
[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 = dirty
[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 = dirty
[submodule "modules/prompt/external/powerline"] [submodule "modules/prompt/external/powerline"]
path = modules/prompt/external/powerline path = modules/prompt/external/powerline
url = https://github.com/davidjrice/prezto_powerline.git url = https://github.com/davidjrice/prezto_powerline.git
ignore = dirty
[submodule "modules/prompt/external/agnoster"] [submodule "modules/prompt/external/agnoster"]
path = modules/prompt/external/agnoster path = modules/prompt/external/agnoster
url = https://github.com/agnoster/agnoster-zsh-theme.git url = https://github.com/agnoster/agnoster-zsh-theme.git
ignore = dirty
[submodule "modules/prompt/functions/pure"] [submodule "modules/prompt/functions/pure"]
path = modules/prompt/external/pure path = modules/prompt/external/pure
url = https://github.com/sindresorhus/pure.git url = https://github.com/sindresorhus/pure.git
ignore = dirty

Loading…
Cancel
Save