summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-03-28 11:13:51 -0400
committerEdward Thomson <ethomson@github.com>2016-03-28 11:13:51 -0400
commite25e1ca1b24a2cb0f7c10f9ff6723283b06e4f22 (patch)
treef1dd7f3d6c3a0092aaa6aa3487bbec99551b53d0 /tests/diff/diffiter.c
parent3e95bd36d91cca0f3b1c209cc4f677125c02d442 (diff)
downloadlibgit2-e25e1ca1b24a2cb0f7c10f9ff6723283b06e4f22.tar.gz
config: don't write section header if we're in it
If we hit the EOF while trying to write a new value, it may be that we're already in the section that we were looking for. If so, do not write a (duplicate) section header, just write the value.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions