On Tue, Oct 25, 2022 at 12:15 PM Ali Alnubani <alia...@nvidia.com> wrote: > > The script devtools/parse-flow-support.sh uses the git-grep > option (-o, --only-matching), which is only supported from > git version 2.19 and onwards.[1] > > The script now exits early providing a clear message to the user > about the required git version instead of showing the following > error messages multiple times: > error: unknown switch `o' > usage: git grep [<options>] [-e] <pattern> [<rev>...] [[--] <path>...] > [..] > > [1] https://github.com/git/git/blob/v2.19.0/Documentation/RelNotes/2.19.0.txt > > Signed-off-by: Ali Alnubani <alia...@nvidia.com> > Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
I don't have a "non working" git, but the patch lgtm. Acked-by: David Marchand <david.march...@redhat.com> -- David Marchand