From: Linus Torvalds Date: Wed, 15 Jul 2009 15:11:57 GMT Subject: Re: [PATCH 2/2] shortlog: add '--sort-key' and '--sort-key-regexp' options Message-ID: In-Reply-To: On Wed, 15 Jul 2009, Johannes Schindelin wrote: > > 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. Ok, I got a SIGSEGV on the regexp, because I didn't react to the "first group" part. So I did git shortlog --pretty=%cD --sort-key-regex ' [0-9]*:' -ns and it immediately segfaulted for me. I realize that I _should_ have done git shortlog --pretty=%cD --sort-key-regex ' \([0-9]*\):' -ns and then I get the expected hourly statistics, but it shouldn't have SIGSEGV'd either. But cool small patch-series. This was exactly what I was looking for. Linus