Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [Janitors] value could be NULL in config parser

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:12

Christian Couder [off-list ref] writes:
Le samedi 9 février 2008, Govind Salinas a écrit :
quoted
Question.  Wouldn't it reduce the amount of validation we have to do
if whoever is calling back checked null and assigned an empty string?
If so, we can probably replace all these patches with one patch.
This was discussed in this thread:

http://thread.gmane.org/gmane.comp.version-control.git/72107/

In short we can't do that now, but it may be possible latter, if we first 
deprecate using an empty string as boolean value "false" (while a NULL is 
boolean value "true").
It may be the case that many in-tree config parser functions are
sloppy right now.  It however is never an excuse to break user's
existing repositories.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help