DescriptionSimplify and fix sorting of PatchFiles.
The prefix of a PatchFile must be initialized to the name value
if there's no extension, otherwise files without extensions sort
randomly because the sort is not stable and we treat them all
the same by sorting on the empty extension.
I also simplified down the sorting logic and made the acceptable
header extensions match Rietveld's python.
Fixes https://github.com/esprehn/chromium-codereview/issues/121
R=ojan@chromium.org
Committed: https://chromium.googlesource.com/infra/infra/+/c1ea9879e6642a5a248faf2521dbdeb5eff46bd5
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|