mirror of https://tildegit.org/ben/dotfiles
5 lines
109 B
Fish
5 lines
109 B
Fish
|
function is_git_ahead
|
||
|
set -l revs (git rev-list origin/(git_branch)..HEAD ^/dev/null)
|
||
|
[ "$revs" != "" ]
|
||
|
end
|