git log --summary outputs extra newlines inconsistently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



âgit log --summaryâ seems to output a newline after every non-merge 
commit.

  $ git log --summary --pretty=format:'%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

  â

Oddly, those newlines show up even with -z!

  $ git log --summary --pretty=format:%h -z
  3c0eee3
  ^@65f4288^@9fc3bbb
  ^@8a87694
  ^@989d873^@d9a1abe
  ^@867c202
  â

This makes the output annoying to parse in both cases.

(Iâm using Git 1.7.4-rc2.)

Anders
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]