summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/giteval2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/giteval b/bin/giteval
index 48d35a8..bd3c643 100755
--- a/bin/giteval
+++ b/bin/giteval
@@ -1,7 +1,7 @@
#!/bin/bash
b=$(git branch --show-current 2> /dev/null) && {
- case $(env - git status --no-ahead-behind | tail -n1) in
+ case $(env - git --no-optional-locks status --no-ahead-behind | tail -n1) in
'nothing to commit'*)
printf '\[\e[32m\][%s]\[\e[0m\]' "$b"
;; 'no changes added to commit'*)