mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 07:58:15 +08:00

If either of the two git config variables: - bash.showDirtyState - bash.showUntrackedFiles is explicitly set to false, we will disable informative status, and fall back on the non-informative version (most likely still with either dirty or untracked files, since we already use the variables for that). These vars are read by the official git prompt, so we use them instead of inventing our own "fish.showInformativeStatus". (Note: This also uses $__fish_git_prompt_showdirtystate and friends, but only when there's nothing set in the repo, and there's really no reason to set those to false if using the informative status) Fixes #5551. [ci skip]