diff --git a/bin/git-summary b/bin/git-summary index 8b69000..33f21be 100755 --- a/bin/git-summary +++ b/bin/git-summary @@ -48,7 +48,7 @@ file_count() { # authors() { - git shortlog -n -s $commit | awk ' + git shortlog -n -s $commit | LC_ALL=C awk ' { args[NR] = $0; sum += $0 } END { for (i = 1; i <= NR; ++i) { @@ -69,7 +69,8 @@ repository_age() { # summary if test "$1" = "--line"; then - git line-summary + shift + git line-summary "$@" echo else