1
0
Fork 0

Referencing git binary directly, avoiding git achievements mess

This commit is contained in:
Gregory Eremin 2013-04-19 22:48:59 +04:00
parent 7bf9111eb5
commit 3124a1c631
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}'
}