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

Re: [PATCH v12 03/13] ref-filter: introduce the ref_formatting_state stack machinery

From: Matthieu Moy <hidden>
Date: 2016-06-15 23:06:14

Junio C Hamano [off-list ref] writes:
So I think 'quote' should apply only to the top-level atoms in the
nested %(magic)...%(end) world.
This is true in most cases, but I think there would also be use-cases
where you would want the opposite, like:

--format '
    %(if:whatever)
    echo %(refname)
    %(end)
'

I'm not sure what's best, but if both can make sense, perhaps we should
just keep the simplest to implement, i.e. the current behavior.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help