Skip to content
Snippets Groups Projects
Commit e83b674f authored by Itzik Ephraim's avatar Itzik Ephraim
Browse files

bugfix: git_ahead no longer reports 'none' as 'ahead'

parent fd40ddb0
Branches
No related merge requests found
...@@ -7,7 +7,7 @@ function git_ahead -a ahead behind diverged none ...@@ -7,7 +7,7 @@ function git_ahead -a ahead behind diverged none
case "" case ""
# no upstream # no upstream
case "0"\t"0" case "0"\t"0"
test -z "$ahead"; and echo "$ahead" test -z "$none"; and echo "$none"
or echo "" or echo ""
case "*"\t"0" case "*"\t"0"
test -z "$behind"; and echo "$behind" test -z "$behind"; and echo "$behind"
......
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