Properly handle multiline git config values.

A crash on parsing was fixed a while ago. This adds support for fully
correctly parsing multiline git config values, using git config --null.

Since git-annex-shell configlist uses normal git config output, I left in
support for that too; the two forms of config output can be easily
identified by the parser. Since configlist only prints the annex.uuid
config, there's no risk of multiline values there, so no need to change it.
This commit is contained in:
Joey Hess 2011-12-15 12:46:04 -04:00
parent ef28b3fef7
commit 09cd042775
4 changed files with 14 additions and 5 deletions

1
debian/changelog vendored
View file

@ -2,6 +2,7 @@ git-annex (3.20111212) UNRELEASED; urgency=low
* Union merge now finds the least expensive way to represent the merge.
* reinject: Add a sanity check for using an annexed file as the source file.
* Properly handle multiline git config values.
-- Joey Hess <joeyh@debian.org> Mon, 12 Dec 2011 01:57:49 -0400