Banst
|
6dfc9b960f
feat(git): display tag in git-prompt when possible (#11318)
|
2 years ago |
Marc Cornellà
|
dfee71c773
Revert "fix(lib): don't return clean with `hide-dirty=1` in `parse_git_dirty`" (#10927)
|
2 years ago |
Will LE
|
4674384d1a
fix(lib): don't return clean with `hide-dirty=1` in `parse_git_dirty` (#10897)
|
2 years ago |
Marc Cornellà
|
304af0a577
fix(lib): quote % in `git_remote_status`
|
2 years ago |
Marc Cornellà
|
428f815169
fix(lib): %-quote git prompt functions
|
3 years ago |
Kevin Burke
|
e86c6f5e7f
style: use `-n` flag in `head` and `tail` commands (#10391)
|
3 years ago |
Pooya Vahidi
|
07cdd7a539
fix(lib): fix status exit code check in `git_prompt_status` (#10275)
|
3 years ago |
Marc Cornellà
|
8b37f817c2
fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391)
|
3 years ago |
Seamile
|
88ffc2f666
fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552)
|
3 years ago |
Marc Cornellà
|
28265812f8
chore!: notify breaking change in `git_prompt_info`
|
3 years ago |
Bruno Borges
|
2f39c68ab0
feat(lib): show upstream branch in `git_prompt_info` (#9188)
|
3 years ago |
Marc Cornellà
|
6e7b861675
lib: fix regex bug in git_prompt_status
|
4 years ago |
Marc Cornellà
|
865f6572d5
Fix performance drop of iterating over lines and other stuff
|
6 years ago |
Billy Conn
|
45a954cb0f
git_prompt_status now uses hash lookups instead of multiple greps
|
8 years ago |
Michał Dębski
|
297238b739
lib: hide git_prompt_status when hide-status is set
|
8 years ago |
Robert Estelle
|
1c58a746af
lib: safety fix and speed-ups for git.zsh prompt functions (#7804)
|
4 years ago |
Patrick Moore
|
e606ac7051
Handle unset variables in various parts of the codebase (#8944)
|
4 years ago |
Evan Chiu
|
1c300d3a76
lib: add git function to determine repository name (#4989)
|
8 years ago |
Marc Cornellà
|
1546e1226a
Fix badly resolved rebase conflict
|
5 years ago |
Marc Cornellà
|
b7e37cea90
Clean up ignore submodules logic in parse_git_dirty
|
5 years ago |
Wang Guan
|
7cc3a32bff
Add an option about git submodules to ignore
|
11 years ago |
Marc Cornellà
|
5911aea46c
lib: stop detecting git versions prior to 1.7.2
|
5 years ago |
Marc Cornellà
|
f75d096c1a
lib: small change to git_compare_version
|
6 years ago |
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 |