diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-07-22 13:05:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-22 13:05:56 -0700 |
commit | fe3fec53a63a1c186452f61b0e55ac2837bf18a1 (patch) | |
tree | 77b3e530bb16e516691fbeaaa1f6f073eef6b473 /Documentation/rev-list-options.txt | |
parent | 33309e428bf85a0f06e4d23b448bf5400efe3f17 (diff) | |
parent | d1c5ae78ce1260c94c9e626b83dc0901e6843178 (diff) | |
download | git-fe3fec53a63a1c186452f61b0e55ac2837bf18a1.tar.gz |
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/rev-list-options.txt')
-rw-r--r-- | Documentation/rev-list-options.txt | 8 |
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:: |