Commit 35491d3d authored by Derek Willian Stavis's avatar Derek Willian Stavis

Merge pull request #240 from oranja/alt-git_ahead

bugfix: git_ahead no longer reports 'none' as 'ahead'
parents fd40ddb0 e83b674f
......@@ -7,7 +7,7 @@ function git_ahead -a ahead behind diverged none
case ""
# no upstream
case "0"\t"0"
test -z "$ahead"; and echo "$ahead"
test -z "$none"; and echo "$none"
or echo ""
case "*"\t"0"
test -z "$behind"; and echo "$behind"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment