summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-07-22 13:05:56 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-22 13:05:56 -0700
commitfe3fec53a63a1c186452f61b0e55ac2837bf18a1 (patch)
tree77b3e530bb16e516691fbeaaa1f6f073eef6b473 /Documentation
parentMerge branch 'ab/imap-send-read-everything-simplify' (diff)
parentrev-list: add option for --pretty=format without header (diff)
downloadtgif-fe3fec53a63a1c186452f61b0e55ac2837bf18a1.tar.xz
Merge branch 'bc/rev-list-without-commit-line'
"git rev-list" learns to omit the "commit <object-name>" header lines from the output with the `--no-commit-header` option. * bc/rev-list-without-commit-line: rev-list: add option for --pretty=format without header
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/rev-list-options.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 5200f18d2c..24569b06d1 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -1064,6 +1064,14 @@ ifdef::git-rev-list[]
--header::
Print the contents of the commit in raw-format; each record is
separated with a NUL character.
+
+--no-commit-header::
+ Suppress the header line containing "commit" and the object ID printed before
+ the specified format. This has no effect on the built-in formats; only custom
+ formats are affected.
+
+--commit-header::
+ Overrides a previous `--no-commit-header`.
endif::git-rev-list[]
--parents::