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: 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.
For those who are interested, I've implemented --no-hash and it's being discussed (with some opposition) on the Git mailing list[0]. The implementation uses an all-zeros hash instead of omitting the line altogether, as git uses the "From " header to handle patch detection. [0] http://thread.gmane.org/gmane.comp.version-control.git/282069
For those who are interested, I've implemented --no-hash and it's being discussed (with some opposition) on the Git mailing list[0]. The implementation uses an all-zeros hash instead of omitting the line altogether, as git uses the "From " header to handle patch detection. [0] http://thread.gmane.org/gmane.comp.version-control.git/282069
Thanks very much for your work! Cheers, Dominic.