summaryrefslogtreecommitdiff
path: root/shortlog.h
AgeCommit message (Collapse)AuthorFilesLines
2008-07-15shortlog: support --pretty=format: optionLibravatar Johannes Schindelin1-0/+1
With this patch, the user can override the default setting, to print the commit messages using a user format instead of the onelines of the commits. Example: $ git shortlog --pretty='format:%s (%h)' <commit>.. Note that shortlog will only respect a user format setting, as the other formats do not make much sense. Wished for by Andrew Morton. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-02-25Add API access to shortlogLibravatar Daniel Barkalow1-0/+26
Shortlog is gives a pretty simple API for cases where you're already identifying all of the individual commits. Make this available to other code instead of requiring them to use the revision API and command line. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>