Skip to content

Commit

Permalink
Merge pull request garybernhardt#25 from amiryal/patch-2
Browse files Browse the repository at this point in the history
Move numerical sort earlier in the pipeline
  • Loading branch information
garybernhardt committed Sep 14, 2014
2 parents 5a7c4c1 + 0794099 commit cc275be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/git-churn
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
# (These are all standard arguments to `git log`.)

set -e
git log --all -M -C --name-only --format='format:' "$@" | sort | grep -v '^$' | uniq -c | sort | awk 'BEGIN {print "count\tfile"} {print $1 "\t" $2}' | sort -g
git log --all -M -C --name-only --format='format:' "$@" | sort | grep -v '^$' | uniq -c | sort -n | awk 'BEGIN {print "count\tfile"} {print $1 "\t" $2}'


0 comments on commit cc275be

Please sign in to comment.