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 <davvid@gmail.com>
Reported-by: Josh Guilfoyle <jasta00@gmail.com>
This commit is contained in:
David Aguilar committed 2009-06-29 00:24:36 -07:00
1 parent e020ebee4e
commit 438c54713a
3 files changed
+59 -8

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
[section]
empty
nonempty = true