Different hashes for the same patch

Jeremy Kerr jk at ozlabs.org
Mon Jan 4 09:52:10 EST 2010


Hi Carl-Daniel,

> Any ideas how to solve this?

The correct fix would be to specify the ordering in the hash calculation 
algorithm (ie, reorder the diff, sorting by filename, then calculate the 
hash).

However, this will break the calculated hashes in exsisting patchwork 
databases. There's a script to do this (apps/patchwork/bin/rehash.py), but may 
require some coordination with upgrades.

Cheers,


Jeremy


More information about the Patchwork mailing list