]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
Add --log-size to git log to print message size
authorMarco Costalba <mcostalba@gmail.com>
Fri, 20 Jul 2007 18:15:13 +0000 (20:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Aug 2007 08:59:33 +0000 (01:59 -0700)
commit9fa3465d6be83c08ed24762c82eb33cb005729f3
tree04e80313bc65786cd64042d4f25326fe444cf3bd
parentfb13227e089f22dc31a3b1624559153821056848
Add --log-size to git log to print message size

With this option git-log prints log message size
just before the corresponding message.

Porcelain tools could use this to speedup parsing
of git-log output.

Note that size refers to log message only. If also
patch content is shown its size is not included.

In case it is not possible to know the size upfront
size value is set to zero.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-log.txt
log-tree.c
revision.c
revision.h