shortlog: add '--sort-key' and '--sort-key-regexp' optionsshortlog-toy
commit8fe700ae2970e85887c4f4ae8c5f0ee4e3dff611
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 15 Jul 2009 11:08:36 +0000 (15 13:08 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 15 Jul 2009 11:14:29 +0000 (15 13:14 +0200)
tree958f57c1dbdd5ede10c94c94e696c80d904dd07d
parentd421cb6163363741fcaaf33a99650195eabde494
shortlog: add '--sort-key' and '--sort-key-regexp' options

Instead of always sorting by author, allow to sort by either
a whitespace-delimited field or by a regular expression (first group)
on the oneline.

For example, this will give you an overview of the weekday/commit
distribution:

git shortlog -k 1 --pretty=%cD -s -n

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Documentation/git-shortlog.txt
builtin-shortlog.c
shortlog.h