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.
Thread (1 message) 1 message, 1 author, last reply 2017-03-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help