Miklos Vajna [off-list ref] writes:
On Thu, Dec 10, 2009 at 02:05:39PM -0800, Junio C Hamano [off-list ref] wrote:
quoted
Good catch. Is this a regression between 1.6.5 and the current code?
Ah, you version is much shorter. :)
More importantly it would avoid running "archive path --format=zip".
That may be reordered by the current parse-options implementation, and
other command line parsers (e.g. "git diff HEAD path --stat") may accept
command line in such an order, but I somehow find it utterly wrong. We
should prepare ourselves for the (distant) day on which we start enforcing
"options then rev then paths" order from the command line.