File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,11 @@ cp gitprompt.fish ~/.config/fish/functions/fish_prompt.fish
148
148
GIT_PROMPT_ONLY_IN_REPO=1
149
149
150
150
# GIT_PROMPT_FETCH_REMOTE_STATUS=0 # uncomment to avoid fetching remote status
151
+ # GIT_PROMPT_IGNORE_SUBMODULES=1 # uncomment to avoid searching for changed files in submodules
151
152
152
153
# GIT_PROMPT_SHOW_UPSTREAM=1 # uncomment to show upstream tracking branch
153
154
# GIT_PROMPT_SHOW_UNTRACKED_FILES=all # can be no, normal or all; determines counting of untracked files
154
-
155
+
155
156
# GIT_PROMPT_SHOW_CHANGED_FILES_COUNT=0 # uncomment to avoid printing the number of changed files
156
157
157
158
# GIT_PROMPT_STATUS_COMMAND=gitstatus_pre-1.7.10.sh # uncomment to support Git older than 1.7.10
@@ -290,6 +291,10 @@ GIT_PROMPT_COMMAND_FAIL="${Red}✘-_LAST_COMMAND_STATE_ " # displays as ✘-1 fo
290
291
`` GIT_PROMPT_SHOW_UNTRACKED_FILES=no `` in your `` .bash-git-rc `` in the repository or
291
292
by disabling it globally in your `` .bashrc ``
292
293
294
+ - If you have a repository with a deep submodule hierarchy, this can also affect performance.
295
+ You can disable searching for changes in submodules on a per repository basis by setting
296
+ `` GIT_PROMPT_IGNORE_SUBMODULES=1 `` in your `` .bash-git-rc ``
297
+
293
298
- You can get help on the git prompt with the function `` git_prompt_help `` .
294
299
Examples are available with `` git_prompt_examples `` .
295
300
A list of all available named colors is available with ` git_prompt_color_samples `
You can’t perform that action at this time.
0 commit comments