Referencing git binary directly, avoiding git achievements mess
This commit is contained in:
parent
7bf9111eb5
commit
3124a1c631
|
@ -23,7 +23,7 @@ git_dirty() {
|
|||
}
|
||||
|
||||
git_need_commit() {
|
||||
git diff --stat 2>/dev/null | awk -F',' '/files? changed/ { lc += $2 + $3 } END {
|
||||
$git diff --stat 2>/dev/null | awk -F',' '/files? changed/ { lc += $2 + $3 } END {
|
||||
if (lc > 100) print "\n%F{005}Y U NO COMMIT!?%f"
|
||||
}'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue