116 Commits (c10a99406a779606fe32eb9b824c90a91f95c842)

Author SHA1 Message Date
Marc Cornellà 59e8e028e1
fix(lib/git): turn off async prompt for zsh < 5.0.6 2 years ago
Marc Cornellà 0c80a063c3 chore(async): reenable async prompt by default on zsh < 5.0.6 (#12358) 2 years ago
Marc Cornellà 1ed8d4b555
fix(git): turn off async prompt by default on zsh < 5.0.6 (#12331) 2 years ago
Marc Cornellà 0389310390
fix(lib/git): fix detection of function use in prompt 2 years ago
Carlo Sala 114b58ed4e
fix(git): disable locally `ksharrays` 2 years ago
Loïc Yhuel 04007a0e5d
feat(git): implement async completion for `git_prompt_status` (#12319) 2 years ago
Marc Cornellà ec1afe9dd6
feat(git)!: enable async git prompt (now for real) 2 years ago
Marc Cornellà 06753e8146
fix(async): register the git prompt async handler correctly (#12267) 2 years ago
Carlo Sala 32d4389aa6
fix(git): disable temporarely async prompt 2 years ago
Marc Cornellà 083cc2c8e8
feat(async)!: implement async prompt API and apply to git prompt (#12257) 2 years ago
Banst 6dfc9b960f
feat(git): display tag in git-prompt when possible (#11318) 3 years ago
Marc Cornellà dfee71c773
Revert "fix(lib): don't return clean with `hide-dirty=1` in `parse_git_dirty`" (#10927) 4 years ago
Will LE 4674384d1a
fix(lib): don't return clean with `hide-dirty=1` in `parse_git_dirty` (#10897) 4 years ago
Marc Cornellà 304af0a577
fix(lib): quote % in `git_remote_status` 4 years ago
Marc Cornellà 428f815169
fix(lib): %-quote git prompt functions 4 years ago
Kevin Burke e86c6f5e7f
style: use `-n` flag in `head` and `tail` commands (#10391) 4 years ago
Pooya Vahidi 07cdd7a539
fix(lib): fix status exit code check in `git_prompt_status` (#10275) 5 years ago
Marc Cornellà 8b37f817c2 fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391) 5 years ago
Seamile 88ffc2f666
fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552) 5 years ago
Marc Cornellà 28265812f8 chore!: notify breaking change in `git_prompt_info` 5 years ago
Bruno Borges 2f39c68ab0
feat(lib): show upstream branch in `git_prompt_info` (#9188) 5 years ago
Marc Cornellà 6e7b861675 lib: fix regex bug in git_prompt_status 6 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 6 years ago
Michał Dębski 297238b739 lib: hide git_prompt_status when hide-status is set 6 years ago
Robert Estelle 1c58a746af
lib: safety fix and speed-ups for git.zsh prompt functions (#7804) 6 years ago
Patrick Moore e606ac7051
Handle unset variables in various parts of the codebase (#8944) 6 years ago
Evan Chiu 1c300d3a76 lib: add git function to determine repository name (#4989) 6 years ago
Marc Cornellà 1546e1226a Fix badly resolved rebase conflict 6 years ago
Marc Cornellà b7e37cea90 Clean up ignore submodules logic in parse_git_dirty 6 years ago
Wang Guan 7cc3a32bff Add an option about git submodules to ignore 6 years ago
Marc Cornellà 5911aea46c
lib: stop detecting git versions prior to 1.7.2 7 years ago
Marc Cornellà f75d096c1a
lib: small change to git_compare_version 8 years ago
Jacopo De Simoi ccd02866f6 Fix git_commits_{ahead,before} when no upstream branch is defined (#6658) 8 years ago
Kimberly Zick 2b6c502aa5 Add match for `MM` (result of `git commit -p` on a single changed file) to git_prompt_status (#3632) 8 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) 8 years ago
Yuichi Tanikawa 27fff27253 Fix git_prompt_status() not showing ahead/behind/diverged status correctly (#5388) 10 years ago
Marc Cornellà 71201ffd67 git: output nothing when no commits ahead or behind 10 years ago
Steven 61981951b1 Updated git_commits_ahead function (#5247) 10 years ago
Steven 96a2092e37 lib/git.zsh: Added git_commits_behind function (#4450) 10 years ago
Aesop Wolf 69e1506ad9 Add git user profile functions for prompt display 10 years ago
Michele Bologna 87f8251388 Re-added $ZSH_THEME_GIT_PROMPT_EQUAL_REMOTE 10 years ago
Marc Cornellà 0842384987 Put `local var` declaration in its own line in lib/git.zsh 10 years ago
Andrew Janke 9f552130bd Move current_branch() from git plugin to core lib/git.zsh 10 years ago
Michele Bologna 12e99b5334 fix indentation 11 years ago
Michele Bologna 5323954c98 Uniform git prompt equal remote 11 years ago
Michele Bologna 01e355fb1e In addition to the already existing variables ZSH_THEME_GIT_PROMPT for behind, 11 years ago
Adam Lindberg 2d40cc0bb3 Add git_prompt_behind and git_prompt_exists 11 years ago
leif.hanack 70c4a27fd6 Added a possibility to display the remote branch and the number of commits you are ahead or behind 11 years ago
Marc Cornellà a301f567e3 Switch back to oh-my-zsh.hide-dirty setting again 11 years ago