]> git.ipfire.org Git - thirdparty/git.git/commit
grep: consistently use "p->fixed" in compile_regexp()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 26 Jul 2019 15:08:14 +0000 (17:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jul 2019 20:56:40 +0000 (13:56 -0700)
commit8a35b540a99d909ee4680e773c1d3befb6bff782
treedd0688662da9c25285c1af00bf3c22a5db91c7a9
parent685668faaae6daf5990068b198525491591aff87
grep: consistently use "p->fixed" in compile_regexp()

At the start of this function we do:

    p->fixed = opt->fixed;

It's less confusing to use that variable consistently that switch back
& forth between the two.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c