summaryrefslogtreecommitdiff
path: root/tests-clar/resources
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2012-11-13 13:41:01 -0800
committerCarlos Martín Nieto <cmn@elego.de>2012-11-13 13:53:41 -0800
commit47db054df053fb09c8c92edaa0238af2a2605e65 (patch)
treeb7a61fc24c910b0604a3493323d9064111d816b0 /tests-clar/resources
parent3ee078c0f7ed278be4839a6bde7dce29a614d336 (diff)
downloadlibgit2-47db054df053fb09c8c92edaa0238af2a2605e65.tar.gz
config: distinguish between a lone variable name and one without rhs
'[section] variable' and '[section] variable =' behave differently when parsed as booleans, so we need to store that distinction internally.
Diffstat (limited to 'tests-clar/resources')
-rw-r--r--tests-clar/resources/config/config42
1 files changed, 2 insertions, 0 deletions
diff --git a/tests-clar/resources/config/config4 b/tests-clar/resources/config/config4
index 741fa0ffd..9dd40419e 100644
--- a/tests-clar/resources/config/config4
+++ b/tests-clar/resources/config/config4
@@ -1,3 +1,5 @@
# A variable name on its own is valid
[some.section]
variable
+# A variable and '=' is accepted, but it's not considered true
+ variableeq =