summary refs log tree commit diff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-07-22 13:05:56 -0700
committerJunio C Hamano <gitster@pobox.com>2021-07-22 13:05:56 -0700
commitfe3fec53a63a1c186452f61b0e55ac2837bf18a1 (patch)
tree77b3e530bb16e516691fbeaaa1f6f073eef6b473 /revision.h
parent33309e428bf85a0f06e4d23b448bf5400efe3f17 (diff)
parentd1c5ae78ce1260c94c9e626b83dc0901e6843178 (diff)
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 'revision.h')
-rw-r--r--revision.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h
index 5c5510d422..fbb068da9f 100644
--- a/revision.h
+++ b/revision.h
@@ -215,7 +215,8 @@ struct rev_info {
 			missing_newline:1,
 			date_mode_explicit:1,
 			preserve_subject:1,
-			encode_email_headers:1;
+			encode_email_headers:1,
+			include_header:1;
 	unsigned int	disable_stdin:1;
 	/* --show-linear-break */
 	unsigned int	track_linear:1,