Bug#635663: git-format-patch: please add --no-hash option
Dominic Hargreaves
dom at earth.li
Wed Jul 27 23:26:43 UTC 2011
Package: git
Version: 1:1.7.2.5-2
Severity: wishlist
Tags: upstream
I would like to see a --no-hash option added to git-format-patch
which would, like --no-signature, exclude the first line of the
generate patch file:
>From <hash> Mon Sep 17 00:00:00 2001
Rationale: git-dpm uses git-format-patch on temporary patched branches
in order to generate patches to be stored in the master branch. If the
patched branch is rebased (a common mode of operation for git-dpm) the
commit hashes will change, resulting in a noisy diff to the master branch.
The addition of this option would significantly quieten the resultant
diffs. For an example of this problem, you could look at
git://anonscm.debian.org/perl/perl.git
Thanks,
Dominic.
More information about the Perl-maintainers
mailing list