builtin-for-each-ref.c: check if we need to peel onion while parsing the format
authorJunio C Hamano <gitster@pobox.com>
Sat, 13 Feb 2010 19:38:42 +0000 (11:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 13 Feb 2010 19:38:42 +0000 (11:38 -0800)
commit20322e0b552b9860377c162675ce5c49bfd32e83
tree1f47fd25574dc1db0670ab4b430f1dcc8ccfa042
parent40dae3094db123be664c69b356b6e4f4e33d80e6
builtin-for-each-ref.c: check if we need to peel onion while parsing the format

Instead of iterating over the parsed atoms that are used in the output
format after all the parsing is done, check it while parsing the
format string.
builtin-for-each-ref.c