summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-02-09 11:19:47 +0000
committerPatrick Steinhardt <ps@pks.im>2018-03-26 10:15:16 +0100
commitfcb0d841e77b6a7fdfe273c82aaa6568c387d054 (patch)
tree891b36c0cd94feeea88cbbf38bca34e2cfc436cb /include/git2
parentdfcd923c9f7e96f99d34a1a5e8d23c7bff6098b6 (diff)
downloadlibgit2-fcb0d841e77b6a7fdfe273c82aaa6568c387d054.tar.gz
config_file: move cvar handling into `append_entry`
The code appending new configuration entries to our current list first allocates the `cvar` structure and then passes it to `append_entry`. As we want to extend `append_entry` to store configuration entries in a map as well as in a list for ordered iteration, we will have to create two `cvar` structures, though. As such, the future change will become much easier when allocation of the `cvar` structure is doen in `append_entry` itself.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions