summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-03-28 18:07:22 +0200
committerCarlos Martín Nieto <cmn@elego.de>2011-03-28 18:07:22 +0200
commit3b4835c25a41781d27a667dbd02ff03d54d221b9 (patch)
tree8b9f792ffbb02ae130ce670973d8e91dc4fe6339 /src/commit.h
parent908afb771ad6a788dd250beede65dd129962da00 (diff)
downloadlibgit2-3b4835c25a41781d27a667dbd02ff03d54d221b9.tar.gz
Correctly parse the section header
If cfg_readline consumes the line, then parse_section_header will read past it and if we read a character, parse_variable won't have the full name. This solution is a bit hackish, but it's the simplest way to get the code to parse correctly. Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions