mirror of https://tildegit.org/ben/dotfiles
fix git dirty
parent
00740f24e6
commit
14aceff961
|
@ -2,3 +2,4 @@ function is_git_ahead
|
||||||
set -l revs (git rev-list origin/(git_branch)..HEAD ^/dev/null)
|
set -l revs (git rev-list origin/(git_branch)..HEAD ^/dev/null)
|
||||||
[ "$revs" != "" ]
|
[ "$revs" != "" ]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
function is_git_dirty
|
function is_git_dirty
|
||||||
is_git; and [ (git status | tail -n1) != "nothing to commit, working tree clean" ]
|
is_git; and git diff --cached --quiet
|
||||||
end
|
end
|
||||||
|
|
|
@ -221,7 +221,7 @@ hashbang.local_hostname
|
||||||
hashbang.usermode
|
hashbang.usermode
|
||||||
hashbang.command = "/oper benharri x"
|
hashbang.command = "/oper benharri x"
|
||||||
hashbang.command_delay
|
hashbang.command_delay
|
||||||
hashbang.autojoin = "#!dots,#dots,#!,#!social,#!os,#!politics,#!space,#!support,#!opers"
|
hashbang.autojoin = "#!opers,#!support,#!space,#!politics,#!os,#!social,#!,#dots"
|
||||||
hashbang.autorejoin
|
hashbang.autorejoin
|
||||||
hashbang.autorejoin_delay
|
hashbang.autorejoin_delay
|
||||||
hashbang.connection_timeout
|
hashbang.connection_timeout
|
||||||
|
|
Loading…
Reference in New Issue