git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] format-patch: introduce option to suppress commit hashes
@ 2015-12-15  1:52 brian m. carlson
  2015-12-15  1:52 ` [PATCH v3 1/3] Introduce a null_oid constant brian m. carlson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: brian m. carlson @ 2015-12-15  1:52 UTC (permalink / raw)
  To: git; +Cc: Stefan Beller, Jeff King, Torsten Bögershausen,
	Junio C Hamano

git format-patch is often used to create patches that are then stored in
version control or displayed with diff.  Having the commit hash in the
"From " line usually just creates diff noise in these cases, so this
series introduces --zero-commit to set that to all zeros.

Changes from v2:
* Improve the tests to be more idiomatic and avoid hard-coding line
  counts.

brian m. carlson (3):
  Introduce a null_oid constant.
  format-patch: add an option to suppress commit hash
  format-patch: check that header line has expected format

 Documentation/git-format-patch.txt |  4 ++++
 builtin/log.c                      |  5 +++++
 cache.h                            |  1 +
 log-tree.c                         |  3 ++-
 revision.h                         |  1 +
 sha1_file.c                        |  1 +
 t/t4014-format-patch.sh            | 14 ++++++++++++++
 7 files changed, 28 insertions(+), 1 deletion(-)

-- 
2.7.0.rc0.194.g1187e4e.dirty

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-15  1:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15  1:52 [PATCH v3 0/3] format-patch: introduce option to suppress commit hashes brian m. carlson
2015-12-15  1:52 ` [PATCH v3 1/3] Introduce a null_oid constant brian m. carlson
2015-12-15  1:52 ` [PATCH v3 2/3] format-patch: add an option to suppress commit hash brian m. carlson
2015-12-15  1:52 ` [PATCH v3 3/3] format-patch: check that header line has expected format brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).