diff options
| author | Robby Russell <robby@planetargon.com> | 2014-09-04 12:54:55 +0200 | 
|---|---|---|
| committer | Robby Russell <robby@planetargon.com> | 2014-09-04 12:54:55 +0200 | 
| commit | ffe8ce5b1e2641a4ebdf157310f77486a6a97013 (patch) | |
| tree | 36d0bd1df1a6521dfe91e0f84e9e2478344d205e /plugins | |
| parent | a8ef111a796acbd7d235b52e5864c6af4b911aa5 (diff) | |
| parent | 5e2591317810dba5d61f085faaf4e3050f90559c (diff) | |
| download | zsh-ffe8ce5b1e2641a4ebdf157310f77486a6a97013.tar.gz zsh-ffe8ce5b1e2641a4ebdf157310f77486a6a97013.tar.bz2 zsh-ffe8ce5b1e2641a4ebdf157310f77486a6a97013.zip  | |
Merge pull request #3095 from robbyrussell/revert-1504-master
Revert "Exit early from git plugin if not in git repo." due to #3082
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/git/git.plugin.zsh | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index bb1978f78..bf7cd1ac9 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -125,14 +125,12 @@ alias gsd='git svn dcommit'  # Usage example: git pull origin $(current_branch)  #  function current_branch() { -  if [ ! -d .git ]; then return; fi    ref=$(git symbolic-ref HEAD 2> /dev/null) || \    ref=$(git rev-parse --short HEAD 2> /dev/null) || return    echo ${ref#refs/heads/}  }  function current_repository() { -  if [ ! -d .git ]; then return; fi    ref=$(git symbolic-ref HEAD 2> /dev/null) || \    ref=$(git rev-parse --short HEAD 2> /dev/null) || return    echo $(git remote -v | cut -d':' -f 2)  | 
