commit a8b65a948b38134cd5f3db2aea24c52ea5c7761e
parent 09cb6de01d27498add0dedb731194c8872486d49
Author: Schnoop <thorsten@daners.info>
Date: Wed, 25 Apr 2018 15:50:27 +0200
parent 09cb6de01d27498add0dedb731194c8872486d49
Author: Schnoop <thorsten@daners.info>
Date: Wed, 25 Apr 2018 15:50:27 +0200
Enforce english if you have a localized shell Grep will fail if a localized shell is in use.
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/git-summary b/git-summary @@ -172,9 +172,9 @@ summarize_one_git_repo () { ### Check local state local state="" - local untracked=`git -C $f status | grep Untracked -c` - local new_files=`git -C $f status | grep "new file" -c` - local modified=`git -C $f status | grep modified -c` + local untracked=`LC_ALL=C git -C $f status | grep Untracked -c` + local new_files=`LC_ALL=C git -C $f status | grep "new file" -c` + local modified=`LC_ALL=C git -C $f status | grep modified -c` if [ $untracked -ne 0 ]; then state="${state}?" @@ -256,3 +256,4 @@ max_len () { git_summary $@ +
: nply/git-summary