libgit2/libgit2 — pull request #1769 by ethomson (2013-08-07 16:24:26+00:00)
Title: Parse config headers with quoted quotes

When parsing the config header line, we look for the first and last quote and read to the last quote. If the last quote is quoted, however, we walk past the end of the string. This stops parsing if the last quote was a quoted quote.