From 438c54713a7ca56fba2a7985b6563aa076b17169 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Sun, 28 Jun 2009 15:09:16 -0700 Subject: git_config: handle configuration entries with no values A git-config entry with no value was preventing repo from initializing. This modifies _ReadGit() to handle config entries with empty values. Signed-off-by: David Aguilar Reported-by: Josh Guilfoyle --- tests/fixtures/test.gitconfig | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/fixtures/test.gitconfig (limited to 'tests/fixtures/test.gitconfig') diff --git a/tests/fixtures/test.gitconfig b/tests/fixtures/test.gitconfig new file mode 100644 index 00000000..3c573c9e --- /dev/null +++ b/tests/fixtures/test.gitconfig @@ -0,0 +1,3 @@ +[section] + empty + nonempty = true -- cgit v1.2.3-54-g00ecf