aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-21 10:59:07 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-21 10:59:08 -0800
commitfbe959dde7eafcdae859e21cd734c07c7890c0a4 (patch)
tree3a84214d3b1ca16b4e45a01c9e2270803a128f55 /Documentation
parent5498c57cdd637eb4f42ce8e296ce9ca4ab66e289 (diff)
parent06dfc9ebaa154d5074b7afadc2f792a80fba7d0c (diff)
downloadgit-fbe959dde7eafcdae859e21cd734c07c7890c0a4.tar.gz
git-fbe959dde7eafcdae859e21cd734c07c7890c0a4.tar.xz
Merge branch 'bc/format-patch-null-from-line'
"format-patch" has learned a new option to zero-out the commit object name on the mbox "From " line. * bc/format-patch-null-from-line: format-patch: check that header line has expected format format-patch: add an option to suppress commit hash sha1_file.c: introduce a null_oid constant
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-format-patch.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-format-patch.txt b/Documentation/git-format-patch.txt
index 403564911..e3cdaeb95 100644
--- a/Documentation/git-format-patch.txt
+++ b/Documentation/git-format-patch.txt
@@ -256,6 +256,10 @@ you can use `--suffix=-patch` to get `0001-description-of-my-change-patch`.
using this option cannot be applied properly, but they are
still useful for code review.
+--zero-commit::
+ Output an all-zero hash in each patch's From header instead
+ of the hash of the commit.
+
--root::
Treat the revision argument as a <revision range>, even if it
is just a single commit (that would normally be treated as a