Skip to content

Commit

Permalink
do not display an indicator when a git branch is up to date with a re…
Browse files Browse the repository at this point in the history
…mote

#2361 requested an indicator for
up to date branches, which was added in
20323d6.

Since then, 3 users complained about the new indicator:

- #2377
- #2380
- #2361 (comment)

On one hand we have one request to add a feature. On the other hand we have
three complaints about the feature's existence. The feature is going away.
  • Loading branch information
romkatv committed Jul 12, 2023
1 parent 93d97b7 commit 932954a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions config/p10k-classic.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@
(( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" "
(( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}${VCS_STATUS_COMMITS_AHEAD}"
elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then
# = if up to date with the remote.
res+=" ${clean}="
# Tip: Uncomment the next line to display '=' if up to date with the remote.
# res+=" ${clean}="
fi

# ⇠42 if behind the push remote.
Expand Down
4 changes: 2 additions & 2 deletions config/p10k-lean-8colors.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@
(( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" "
(( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}${VCS_STATUS_COMMITS_AHEAD}"
elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then
# = if up to date with the remote.
res+=" ${clean}="
# Tip: Uncomment the next line to display '=' if up to date with the remote.
# res+=" ${clean}="
fi

# ⇠42 if behind the push remote.
Expand Down
4 changes: 2 additions & 2 deletions config/p10k-lean.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,8 @@
(( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" "
(( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}${VCS_STATUS_COMMITS_AHEAD}"
elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then
# = if up to date with the remote.
res+=" ${clean}="
# Tip: Uncomment the next line to display '=' if up to date with the remote.
# res+=" ${clean}="
fi

# ⇠42 if behind the push remote.
Expand Down
4 changes: 2 additions & 2 deletions config/p10k-rainbow.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@
(( VCS_STATUS_COMMITS_AHEAD && !VCS_STATUS_COMMITS_BEHIND )) && res+=" "
(( VCS_STATUS_COMMITS_AHEAD )) && res+="${clean}${VCS_STATUS_COMMITS_AHEAD}"
elif [[ -n $VCS_STATUS_REMOTE_BRANCH ]]; then
# = if up to date with the remote.
res+=" ${clean}="
# Tip: Uncomment the next line to display '=' if up to date with the remote.
# res+=" ${clean}="
fi

# ⇠42 if behind the push remote.
Expand Down

0 comments on commit 932954a

Please sign in to comment.