Jacopo De Simoi
|
ccd02866f6
Fix git_commits_{ahead,before} when no upstream branch is defined (#6658)
|
6 years ago |
Kimberly Zick
|
2b6c502aa5
Add match for `MM` (result of `git commit -p` on a single changed file) to git_prompt_status (#3632)
|
6 years ago |
catull
|
d792b1114c
With zsh 5.4 a simple "local FLAGS" meant as an array must be explicitly declared so. This fix avoids the dreaded "parse_git_dirty:3: FLAGS: attempt to assign array value to non-array". (#6414)
|
7 years ago |
Yuichi Tanikawa
|
27fff27253
Fix git_prompt_status() not showing ahead/behind/diverged status correctly (#5388)
|
8 years ago |
Marc Cornellà
|
71201ffd67
git: output nothing when no commits ahead or behind
|
8 years ago |
Steven
|
61981951b1
Updated git_commits_ahead function (#5247)
|
8 years ago |
Steven
|
96a2092e37
lib/git.zsh: Added git_commits_behind function (#4450)
|
8 years ago |
Aesop Wolf
|
69e1506ad9
Add git user profile functions for prompt display
|
8 years ago |
Michele Bologna
|
87f8251388
Re-added $ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE
|
8 years ago |
Marc Cornellà
|
0842384987
Put `local var` declaration in its own line in lib/git.zsh
|
9 years ago |
Andrew Janke
|
9f552130bd
Move current_branch() from git plugin to core lib/git.zsh
|
9 years ago |
Michele Bologna
|
12e99b5334
fix indentation
|
9 years ago |
Michele Bologna
|
5323954c98
Uniform git prompt equal remote
|
9 years ago |
Michele Bologna
|
01e355fb1e
In addition to the already existing variables ZSH_THEME_GIT_PROMPT for behind,
|
9 years ago |
Adam Lindberg
|
2d40cc0bb3
Add git_prompt_behind and git_prompt_exists
|
10 years ago |
leif.hanack
|
70c4a27fd6
Added a possibility to display the remote branch and the number of commits you are ahead or behind
|
10 years ago |
Robby Russell
|
eced76e0fd
Merge pull request #3326 from DanielFGray/master
|
10 years ago |
Marc Cornellà
|
a301f567e3
Switch back to oh-my-zsh.hide-dirty setting again
|
10 years ago |
DanielFGray
|
00ec11d3c0
ignore any grep aliases that might be defined
|
10 years ago |
Robby Russell
|
81004dfaba
2928 merge conflict
|
10 years ago |
Robby Russell
|
160abc9a8d
Merge pull request #2323 from michaelorr/slow-git-fix
|
10 years ago |
Robby Russell
|
01da53e10f
Merge pull request #2828 from r3dDoX/master
|
10 years ago |
Simon Buchan
|
2927ce3714
Fix POST_1_7_2_GIT check for parse_git_dirty submodules.
|
10 years ago |
Simon Buchan
|
676fb4e420
Fix parse_git_dirty() when status.branch is set.
|
10 years ago |
Albert Krewinkel
|
c5d9fc9968
git_prompt_info: ignore git-config errors
|
10 years ago |
Mikhail S. Pobolovets
|
49161e7847
Add missing `command` wrapper for git
|
10 years ago |
ncanceill
|
7fbbf28e6e
return 0 when not a git repo
|
10 years ago |
r3dDoX
|
514693125b
added prefix/suffix variable for customizability
|
10 years ago |
r3dDoX
|
59c8fcc712
added new function to get number of commits ahead of remote
|
10 years ago |
r3dDoX
|
3c485db8c7
replaced hardcoded origin/{branch-name} with @{upstream} which gets the upstream branch since git 1.7.0
|
10 years ago |