format-patch: add an option to suppress commit hash
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 15 Dec 2015 01:52:04 +0000 (01:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Dec 2015 18:03:40 +0000 (10:03 -0800)
Oftentimes, patches created by git format-patch will be stored in
version control or compared with diff. In these cases, two otherwise
identical patches can have different commit hashes, leading to diff
noise. Teach git format-patch a --zero-commit option that instead
produces an all-zero hash to avoid this diff noise.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found