123 Commits (fdc7ed3b30f58fa15ad6fcc7117584b96bc1a0ce)

Author SHA1 Message Date
Jacopo De Simoi 6811cc2638 Force registering of async git_prompt_info 1 month ago
tDwtp f84341c574
fix(git): git_status_prompt should respect spaces in prefixes (#13478) 3 months ago
Ilia Burtsev 13c702964c
fix(async): ensure `git_prompt_status` can be registered (#13134) 10 months ago
Carlo Sala 2a109d30af feat(git): add escape hatch to enable async prompt 1 year ago
Carlo Sala 367e9381df
chore(git): fix typo 2 years ago
Carlo Sala 99e2c31484
feat(git): add `git_previous_branch` function 2 years ago
Saravana J 33ac2ee30f
fix(git): update prefix map for modified files (#12674) 2 years ago
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