Thread (1 message) 1 message, 1 author, 2017-03-21

Re: [PATCH v3 3/5] grep: fix bug when recursing with relative pathspec

From: Junio C Hamano <hidden>
Date: 2017-03-21 17:59:28

Duy Nguyen [off-list ref] writes:
quoted
        if (recurse_submodules)
                argv_array_push(&submodule_options, "--recurse-submodules");
Side note. It would be awesome if you could make parse_options() (or a
new function) do the reverse process: given a 'struct option' with
valid data, spit out argv_array. Less worrying about git-grep having
new option but not passed to subgrep by accident. You can have a new
flag to tell it to ignore certain options if you don't want to pass
all.
It indeed would be awesome.  I do not offhand know if it would be
feasible or the result is easy to use without mistakes, though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help