Skip to content

Commit

Permalink
Documentation/git-log: update "--log-size" description
Browse files Browse the repository at this point in the history
"--log-size" was added in commit 9fa3465, and the commit message
contained a satisfactory explanation; however, the man page entry
for it did not describe the actual output format, what the output
meant and what the option was meant to be used for.

Helped-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Jason St. John <jstjohn@purdue.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jason St. John authored and Junio C Hamano committed Nov 13, 2013
1 parent d7d2c87 commit c20e6fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Documentation/git-log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ Note that this affects all diff-based output types, e.g. those
produced by --stat etc.

--log-size::
Before the log message print out its size in bytes. Intended
mainly for porcelain tools consumption. If Git is unable to
produce a valid value size is set to zero.
Note that only message is considered, if also a diff is shown
its size is not included.

Include a line ``log size <number>'' in the output for each commit,
where <number> is the length of that commit's message in bytes.
Intended to speed up tools that read log messages from `git log`
output by allowing them to allocate space in advance.

-L <start>,<end>:<file>, -L :<regex>:<file>::

Expand Down

0 comments on commit c20e6fb

Please sign in to comment.