Commit 6fa33324 authored by Itzik Ephraim's avatar Itzik Ephraim

bugfix: add missing $s in git_ahead

parent ebd54322
function git_ahead -a ahead behind diverged none
git_is_repo; and begin
test -z "$ahead"; and set ahead "+"
test -z "behind"; and set behind "-"
test -z "diverged"; and set diverged "±"
test -z "none"; and set none ""
test -z "$behind"; and set behind "-"
test -z "$diverged"; and set diverged "±"
test -z "$none"; and set none ""
command git rev-list --left-right "@{upstream}...HEAD" ^/dev/null \
| awk "/>/ {a += 1} /</ {b += 1} \
{if (a > 0) nextfile} END \
......
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