diff --git a/lib/git/git_ahead.fish b/lib/git/git_ahead.fish index 16aa924a46334ca2bad159a0c0581fb97b90d6a0..e368cd8cff476e78f11ad53bf4cf7cd583ced6a7 100644 --- a/lib/git/git_ahead.fish +++ b/lib/git/git_ahead.fish @@ -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"