Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 10, 2015
  1. @eproxus @ncanceill

    Add git_prompt_behind and git_prompt_exists

    eproxus authored ncanceill committed
    This adds two new theme functions for git:
    * `git_prompt_behind` works in a identical fashion to `git_prompt_ahead`
      and will output a format variable (`ZSH_THEME_GIT_PROMPT_BEHIND`) if
      the branch is behind.
    * `git_prompt_remote` will output one format variable if the branch
      exists on remote (`ZSH_THEME_GIT_PROMPT_REMOTE_EXISTS`), and another
      if the branch is unpublished (`ZSH_THEME_GIT_PROMPT_REMOTE_MISSING`).
    
    The old `git_prompt_ahead` has been changed. Using git log is subject
    to formatting in .gitconfig, which can be overridden and will break
    this function. Relying on rev-list is much more stable.
  2. @ncanceill

    Added a possibility to display the remote branch and the number of co…

    leif.hanack authored ncanceill committed
    …mmits you are ahead or behind
Commits on Dec 15, 2014
  1. Merge pull request #3326 from DanielFGray/master

    authored
    ignore any grep aliases that might be defined
Commits on Nov 19, 2014
  1. @mcornella

    Switch back to oh-my-zsh.hide-dirty setting again

    mcornella authored
    Commit 81004df reverted the change
    in 9b811fb when editing the merge
    conflict from #2928.
    
    This commit fixes that so that we don't make the same mistake again.
    
    First seen in http://git.io/Cdaj5Q
Commits on Nov 16, 2014
  1. @DanielFGray
Commits on Nov 6, 2014
  1. 2928 merge conflict

    authored
  2. Merge pull request #2323 from michaelorr/slow-git-fix

    authored
    Renaming config for parse_git_dirty() to avoid collision
Commits on Jul 15, 2014
  1. Merge pull request #2828 from r3dDoX/master

    authored
    removed a hardcoded 'origin' in git.zsh and added new function for number of commits ahead of remote
Commits on Jul 3, 2014
  1. @simonbuchan
  2. @simonbuchan
Commits on Jun 28, 2014
  1. @tarleb @ncanceill

    git_prompt_info: ignore git-config errors

    tarleb authored ncanceill committed
    Merged from #2906
    
    The function `git_prompt_info` calls `git config` for its stdout output,
    but doesn't handle the stderr output.  This can lead to problems,
    e.g. if the git config file is unreadable for some reason (permissions
    etc).
    
    This fixes the issue by simply ignoring the stderr output.
  2. @styx @ncanceill

    Add missing `command` wrapper for git

    styx authored ncanceill committed
    Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
Commits on Jun 10, 2014
  1. @ncanceill

    return 0 when not a git repo

    ncanceill authored
    before, 128 was returned, which could display an error,
    but out of a git repo this should exit silently
    fixes #2226
Commits on May 26, 2014
  1. @r3dDoX
Commits on May 25, 2014
  1. @r3dDoX
  2. @r3dDoX

    replaced hardcoded origin/{branch-name} with @{upstream} which gets t…

    r3dDoX authored
    …he upstream branch since git 1.7.0
Commits on Dec 6, 2013
  1. @michaelorr

    accidentally blew away a git config setting used for another purpose,…

    michaelorr authored
    … renaming in order to distinguish
Commits on Nov 20, 2013
  1. @michaelorr
Commits on Jun 12, 2013
  1. @tgkokk
Commits on May 19, 2013
  1. @croach
Commits on Apr 24, 2013
  1. Merge pull request #1740 from felipec/fc/git

    authored
    git: fix parse_git_dirty()
Commits on Apr 22, 2013
  1. @jtheoof

    Added option to allow untracked files as non dirty

    jtheoof authored
    In this commit, the option only works for git but it should not be to hard for
    someone who knows svn to so the same.
    This commit is largely inspired by @yoavweiss, I only added an option to use
    it.
Commits on Apr 21, 2013
  1. @felipec

    git: fix parse_git_dirty()

    felipec authored
    If oh-my-zsh.hide-status is configured, the 'clean' code won't be
    generated, and some themes might end up distorted. Let's generate the
    'clean' code even when we don't want the show the dirty status.
    
    Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Commits on Apr 8, 2013
  1. Merge pull request #1654 from bertag/parse-git-dirty-support-for-1.6

    authored
    parse_git_dirty() support for Git 1.6
Commits on Apr 4, 2013
  1. This fixes checking for git untracked items

    Christian Höltje authored
    The grep expression was incorrect for normal grep. Adding
    the `-E` option fixed the escaping of the question marks.
Commits on Mar 27, 2013
  1. Merge pull request #1661 from hellerbarde/master

    authored
    Fix some problems with git enabled prompts where they *always* claim to have untracked files
Commits on Mar 13, 2013
  1. @hellerbarde
Commits on Mar 11, 2013
  1. @bertag

    Tweaked parse_git_dirty() in lib/git.zsh to support proper dirty/clea…

    bertag authored
    …n parsing against both git 1.6 and git 1.7+
Commits on Feb 19, 2013
Commits on Feb 13, 2013
  1. @yoavweiss

    Did a full circle and went back to # On branch master

    yoavweiss authored
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #	modified:   git.zsh
    #, ignoring untracked files, which seems to be the primary cause for slowness
  2. @yoavweiss
Commits on Jan 30, 2013
  1. @yoavweiss
Commits on Jan 27, 2013
  1. @yoavweiss
Commits on Jan 11, 2013
  1. Merge pull request #1077 from Mezzle/add-option-to-show-git-status

    authored
    Add option to disable status notification
Something went wrong with that request. Please try again.