summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-01-17 13:19:09 -0800
committerRussell Belfer <rb@github.com>2013-01-17 13:19:09 -0800
commit291090a0761934fe295d0923ea577f6878460bf3 (patch)
tree90aedd30f9aa65c5028e8d52d5f24d00305013d1 /include/git2/commit.h
parent34a4ad46e8ff306dca989bb591dc415e38480064 (diff)
downloadlibgit2-291090a0761934fe295d0923ea577f6878460bf3.tar.gz
Add skipping of unknown commit headers
This moves the check for the "encoding" header into a loop which is just scanning for non-required headers at the end of a commit header. That loop will skip unrecognized lines (including header continuation lines) until a terminating completely blank line is found, and only then does it move to reading the commit message.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions