Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] request-pull: avoid mentioning that the start point is a single commit

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:48:07

Miklos Vajna [off-list ref] wrote:
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 <redacted>
---
Acked-by: Shawn O. Pearce <redacted>

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help