summaryrefslogtreecommitdiff
path: root/plugins/git-prompt/git-prompt.plugin.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-02-23 19:23:54 +0100
committerMarc Cornellà <hello@mcornella.com>2022-02-24 13:51:16 +0100
commit0b0af4df6aab075d257d4a0dcfd1bf42318fc69a (patch)
treed9ca0620195cdd6642f85592bfe6b4a3171d7b28 /plugins/git-prompt/git-prompt.plugin.zsh
parentff298365626c4366eac930793918c6fbfb8c5d9a (diff)
downloadzsh-0b0af4df6aab075d257d4a0dcfd1bf42318fc69a.tar.gz
zsh-0b0af4df6aab075d257d4a0dcfd1bf42318fc69a.tar.bz2
zsh-0b0af4df6aab075d257d4a0dcfd1bf42318fc69a.zip
fix(updater): fix check for latest commit in local repository
The previous check simply compared whether the last commit of the branch was the same in the local and the remote repository. This commit also checks whether the remote commit is an ancestor of the local commit. This fixes the case where the local repository has new commits after the last published commit.
Diffstat (limited to 'plugins/git-prompt/git-prompt.plugin.zsh')
0 files changed, 0 insertions, 0 deletions