git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Rewrite man page explanation of git log's "--log-size" option
@ 2013-11-13  6:21 Jason St. John
  2013-11-13  6:21 ` [PATCH 2/2] Fix minor grammatical and other formatting issues in the "git log" man page Jason St. John
  0 siblings, 1 reply; 5+ messages in thread
From: Jason St. John @ 2013-11-13  6:21 UTC (permalink / raw)
  To: git; +Cc: Jason St. John

Documentation/git-log.txt:
--log-size was added in commit 9fa3465, and the commit message contained
a satisfactory explanation; however, the man page entry for it was
unclear and cryptic.

Thanks-to: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Jason St. John <jstjohn@purdue.edu>
---
This is effectively a resubmit of my previous patch here:
http://marc.info/?l=git&m=138395803808196&w=2

Thanks to Jonathan Nieder for writing the text used in this commit:
http://marc.info/?l=git&m=138395887208373&w=2


 Documentation/git-log.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 34097ef..a5de513 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -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>::
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-15  1:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13  6:21 [PATCH 1/2] Rewrite man page explanation of git log's "--log-size" option Jason St. John
2013-11-13  6:21 ` [PATCH 2/2] Fix minor grammatical and other formatting issues in the "git log" man page Jason St. John
2013-11-13 21:56   ` Junio C Hamano
2013-11-15  1:44     ` Jason St. John
2013-11-15  1:47       ` Jason St. John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).