Commit 7bae37f
committed
ostree-ext/store: use BTreeMap for merge commit metadata
`HashMap` is unordered which means that the conversion to GVariant
(and thus its serialization) is not reproducible since the conversion
basically just maps to an GVariant array. That in turns means the commit
hash itself is not reproducible.
All we really need to do is just swap it for a `BTreeMap` since all the
types involved here implement ordering.1 parent b290ad2 commit 7bae37f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1047 | 1047 | | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | | - | |
| 1050 | + | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| |||
0 commit comments