fish-shell/share
Kevin Ballard b604321169 Fix showupstream behavior in __fish_git_prompt
The __fish_git_prompt_show_upstream helper function was inadvertently
looking at the misnamed variable __fish_git_prompt_show_upstream in some
cases, including when implementing the bash.showUpstream override.
Fixing the script to use __fish_git_prompt_showupstream triggered an
infinite loop because the --on-variable hook does not distinguish
between local and global variables.

Update the script to set a completely different local variable to
__fish_git_prompt_showupstream and to override this local variable for
bash.showUpstream.

Also update the code that looks at bash.showUpstream to also read
bash.showupstream, because the bash script appears to have a bug where
it looks for bash.showupstream despite documenting bash.showUpstream.
2012-07-26 15:32:27 -07:00
..
completions pacmatic and dmesg completions 2012-07-16 10:03:01 +08:00
functions Fix showupstream behavior in __fish_git_prompt 2012-07-26 15:32:27 -07:00
tools Fix for https://github.com/fish-shell/fish-shell/issues/105 2012-07-08 17:35:07 -07:00
config.fish Large set of changes related to making fish relocatable, and improving the build and install story. 2012-07-08 15:20:39 -07:00