aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/blame-options.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-05-09 09:34:42 -0400
committerJunio C Hamano <gitster@pobox.com>2011-05-09 15:27:50 -0700
commited747dd5216ba1fe6fa59da9585dcd6cced202bb (patch)
treeb3d07c9cecee5fb7f13c3249ba629fbabdf3e7c3 /Documentation/blame-options.txt
parente86226e34097ce22ed78a9e759564110f141dda0 (diff)
downloadgit-ed747dd5216ba1fe6fa59da9585dcd6cced202bb.tar.gz
blame: add --line-porcelain output format
This is just like --porcelain, except that we always output the commit information for each line, not just the first time it is referenced. This can make quick and dirty scripts much easier to write; see the example added to the blame documentation. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/blame-options.txt')
-rw-r--r--Documentation/blame-options.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/blame-options.txt b/Documentation/blame-options.txt
index 16e3c68576..e76195ac97 100644
--- a/Documentation/blame-options.txt
+++ b/Documentation/blame-options.txt
@@ -52,6 +52,11 @@ of lines before or after the line given by <start>.
--porcelain::
Show in a format designed for machine consumption.
+--line-porcelain::
+ Show the porcelain format, but output commit information for
+ each line, not just the first time a commit is referenced.
+ Implies --porcelain.
+
--incremental::
Show the result incrementally in a format designed for
machine consumption.