From: Taylor Blau Date: Fri, 07 Oct 2022 21:59:10 GMT Subject: Re: [RFC PATCH v2] shortlog: add group-by options for year and month Message-ID: In-Reply-To: On Thu, Oct 06, 2022 at 05:48:06PM -0700, Jacob Stopak wrote: > > The date thing I think can be done with --date; I just sent a sketch in > > another part of the thread. > > Peff - I applied your --date sketch onto Taylor's patch and it worked > first try. Yeah; I think that allowing the `--date` argument (similar to how `git log` treats an option by the same name) is sensible, albeit slightly less flexible than the proposed `%(authordate:format=%Y-%m)`. For what it's worth, I don't have anything against the latter (other than that it is slightly redundant in many cases with `--date`), but it does seem easier and more worthwhile to repurpose `--date` here instead. Thanks, Taylor