Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Costalba <mcostalba@gmail.com>2007-07-20 22:15:13 +0400
committerJunio C Hamano <gitster@pobox.com>2007-08-14 12:59:33 +0400
commit9fa3465d6be83c08ed24762c82eb33cb005729f3 (patch)
tree04e80313bc65786cd64042d4f25326fe444cf3bd /revision.h
parentfb13227e089f22dc31a3b1624559153821056848 (diff)
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>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index f46b4d55a2..98a0a8f3fa 100644
--- a/revision.h
+++ b/revision.h
@@ -81,6 +81,7 @@ struct rev_info {
const char *log_reencode;
const char *subject_prefix;
int no_inline;
+ int show_log_size;
/* Filter by commit log message */
struct grep_opt *grep_filter;