summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-02-09 12:49:45 +0000
committerPatrick Steinhardt <ps@pks.im>2018-03-26 10:15:16 +0100
commit3a82475f327775f0320f7e9ff333c43944ec63ff (patch)
tree75b96928f69db36e144460a71b8c3c93e7acdf83 /tests/diff/diffiter.c
parent8c0b0717b892c6c726107cff98593ef98bc027c2 (diff)
downloadlibgit2-3a82475f327775f0320f7e9ff333c43944ec63ff.tar.gz
config_file: add list holding config entries in order of appearance
Right now, we only keep all configuration entries in a string map. This is required to efficiently access configuration entries by keys. It has the disadvantage of not being able to iterate through configuration entries in the order they were read, though. Instead, we only iterate through entries in a seemingly random order. Extend `diskfile_entries` by another list holding configuration entries. Like this, we maintain all entries in two data structures and can use the required one based on the current use case.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions