Re: [PATCH] request-pull: avoid mentioning that the start point is a single commit
Miklos Vajna <vmiklos@frugalware.org> wrote:
Show 6 quoted lines
> Previously we ran shortlog on the start commit which always printed
> "(1)" after the start commit, which gives no information, but makes the
> output less easy to read. Avoid doing so.
>
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> ---
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Nice fix, that was annoying me too, but I didn't care enough to
write a patch. :-)
> -git shortlog --max-count=1 $baserev | sed -e 's/^\(.\)/ \1/'
> +git log --max-count=1 --pretty=format:" %an: %s%n%n" $baserev
--
Shawn.