summaryrefslogtreecommitdiffstats
path: root/sha1_name.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2015-12-15 02:52:04 +0100
committerJunio C Hamano <gitster@pobox.com>2015-12-15 19:03:40 +0100
commit3a30aa17879b08f96262abb9a22c7bbe8f56e4c9 (patch)
treeace01289693a796bfb19661e6ed78d1b81381859 /sha1_name.c
parentsha1_file.c: introduce a null_oid constant (diff)
downloadgit-3a30aa17879b08f96262abb9a22c7bbe8f56e4c9.tar.xz
git-3a30aa17879b08f96262abb9a22c7bbe8f56e4c9.zip
format-patch: add an option to suppress commit hash
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>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions