diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-12-13 18:53:08 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-12-13 18:53:08 +0100 |
commit | 37141fe491b515beb04bd1d9f016a96154de7c4a (patch) | |
tree | d9347dbc26c9e772c5405a5b71dffd581b3e1020 /prepare-release | |
parent | 646ebd92c8ad9897078746ef440231a2fc34b683 (diff) |
parse .diff/Index hashes in reverse order
Reversing the parsing order ensures that we parse weaker hashes (like
SHA1) before we touch newer/stronger hashes (like SHA256) as the weaker
ones will usually be there for a longer time already with data already
present, which we would discard if we start with the strong one first.
The discarding is visible in the debug logs:
File X wasn't in the list for the first parsed hash! (history)
File X wasn't in the list for the first parsed hash! (patches)
which if file X is part of the patch-path means apt will not find a path and
fallback to acquire the whole file instead needlessly.
If file X isn't part of the patch-path that is no problem, so that
effects only the update-call which updates with patches coming from
before and after the addition of a new hash.
Diffstat (limited to 'prepare-release')
0 files changed, 0 insertions, 0 deletions