Merge pull request #42 from linuxmaniac/vseva/fix_branch_name

fix branch name.
master
Martin Gondermann 12 years ago
commit e8e51195ed
  1. 2
      gitstatus.sh

@ -20,7 +20,7 @@ gitsym=`git symbolic-ref HEAD`
case "$gitsym" in fatal*) exit 0 ;; esac
# the current branch is the tail end of the symbolic reference
branch="${gitsym##*/}" # get the basename after "refs/head/"
branch="${gitsym##refs/heads/}" # get the basename after "refs/heads/"
gitstatus=`git diff --name-status 2>&1`

Loading…
Cancel
Save