Thread (22 messages) 22 messages, 5 authors, 2017-03-07

Re: [PATCH v6 1/1] config: add conditional include

From: Duy Nguyen <hidden>
Date: 2017-02-26 03:12:55

On Sat, Feb 25, 2017 at 5:08 AM, Philip Oakley [off-list ref] wrote:
quoted
+Conditional includes
+~~~~~~~~~~~~~~~~~~~~
+
+You can include one config file from another conditionally by setting

On first reading I thought this implied you can only have one `includeIf`
within the config file.
I think it is meant to mean that each `includeIf`could include one other
file, and that users can have multiple `includeIf` lines.
Yes. Not sure how to put it better though (I basically copied the
first paragraph from the unconditional include section above, which
shares the same confusion). Perhaps just write "the variable can be
specified multiple times"? Or "multiple variables include multiple
times, the last variable does not override the previous ones"?
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help