1. 29 Jul, 2012 1 commit
    • Caio Romão's avatar
      Add branch status support to git_prompt_status · a3c2a2f6
      Caio Romão authored
      This patch makes git_prompt_status support three new status variables:
      
       - ZSH_THEME_GIT_PROMPT_AHEAD
       - ZSH_THEME_GIT_PROMPT_BEHIND
       - ZSH_THEME_GIT_PROMPT_DIVERGED
      
      With these extra variables it's easy to see (1) if you have commits in
      your local branch that weren't pushed to the remote (AHEAD), (2) if
      there are commits in the remote that you haven't merged/rebased yet
      (BEHIND) or (3) if you have local unpushed commits AND the remote has
      some commits you haven't merged yet (DIVERGED).
      
      Refer to the first line displayed on `git status -b --porcelain`.
      
      An example setup in a .zsh-theme file would be:
      
      ZSH_THEME_GIT_PROMPT_AHEAD="↑"
      ZSH_THEME_GIT_PROMPT_BEHIND="↓"
      ZSH_THEME_GIT_PROMPT_DIVERGED=""
      a3c2a2f6
  2. 20 Jul, 2012 2 commits
  3. 15 Jul, 2012 1 commit
  4. 11 Jul, 2012 1 commit
  5. 10 Jul, 2012 2 commits
  6. 09 Jul, 2012 2 commits
  7. 03 Jul, 2012 6 commits
  8. 01 Jul, 2012 1 commit
  9. 28 Jun, 2012 1 commit
  10. 25 Jun, 2012 1 commit
  11. 24 Jun, 2012 2 commits
  12. 23 Jun, 2012 1 commit
  13. 22 Jun, 2012 8 commits
  14. 20 Jun, 2012 3 commits
  15. 18 Jun, 2012 4 commits
  16. 16 Jun, 2012 1 commit
  17. 15 Jun, 2012 1 commit
  18. 13 Jun, 2012 2 commits