28265812f8fb923788d74409cef3e5635793b38e

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

chore!: notify breaking change in `git_prompt_info`

BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188).

Diff

 1diff --git a/lib/git.zsh b/lib/git.zsh
 2index da8a3e7a7a1453b034f483ee563a76029cf1d004..157c85062d29fbf29a9da344652cf34964faad37 100644
 3--- a/lib/git.zsh
 4+++ b/lib/git.zsh
 5@@ -21,7 +21,7 @@ function git_prompt_info() {
 6   ref=$(__git_prompt_git symbolic-ref --short HEAD 2> /dev/null) \
 7   || ref=$(__git_prompt_git rev-parse --short HEAD 2> /dev/null) \
 8   || return 0
 9- 
10+
11   # Use global ZSH_THEME_GIT_SHOW_UPSTREAM=1 for including upstream remote info
12   local upstream
13   if (( ${+ZSH_THEME_GIT_SHOW_UPSTREAM} )); then