Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git log --summary outputs extra newlines inconsistently

From: Anders Kaseorg <hidden>
Date: 2016-06-15 22:50:30

On Fri, 4 Feb 2011, Junio C Hamano wrote:
quoted
‘git log --summary’ seems to output a newline after every non-merge
commit.
I suspect you want tformat.
Same problem.

  $ git log --summary --pretty=tformat:'%h %s'
  3c0eee3 Linux 2.6.37

  65f4288 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
  9fc3bbb ipv4/route.c: respect prefsrc for local routes

  8a87694 remove trim_fs method from Documentation/filesystems/Locking

  989d873 Merge master.kernel.org:/home/rmk/linux-2.6-arm
  d9a1abe arch/mn10300/kernel/irq.c: fix build

  867c202 ima: fix add LSM rule bug

Also, tformat doesn’t seem to work at all with -z (it gives identical 
results with and without -z).

Anders
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help