summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Eric Sunshine <sunshine@sunshineco.com>2013-08-06 09:59:34 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-08-06 14:25:22 -0700
commit1e159833c732d332eefd75d92bee22cf029ca84f (patch)
tree0bc9f0b54c048abb569395d94449992378f671c7
parentblame: reject empty ranges -L,+0 and -L,-0 (diff)
downloadtgif-1e159833c732d332eefd75d92bee22cf029ca84f.tar.xz
git-log.txt: place each -L option variation on its own line
Standard practice in Git documentation is for each variation of an option (such as: -p / --porcelain) to be placed on its own line in the OPTIONS table. The -L option does not follow suit. It cuddles "-L <start>,<end>:<file>" and "-L :<regex>:<file>", separated by a comma. This is inconsistent and potentially confusing since the comma separating them is typeset the same as the comma in "<start>,<end>". Fix this by placing each variation on its own line. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-log.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index ac2694d04c..fe04e06acb 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -62,7 +62,8 @@ produced by --stat etc.
Note that only message is considered, if also a diff is shown
its size is not included.
--L <start>,<end>:<file>, -L :<regex>:<file>::
+-L <start>,<end>:<file>::
+-L :<regex>:<file>::
Trace the evolution of the line range given by "<start>,<end>"
(or the funcname regex <regex>) within the <file>. You may