Re: [PATCH 01/17] cocci: remove dead rule from "the_repository.pending.cocci"
- From
Elijah Newren <newren@gmail.com>
- Date
- Mar 19, 2023, 05:53 UTC
- Message-ID
- <CABPp-BG=wEGu-mdT_Uj1hADa8KgxXufO6webz7FO1hfADb1v9g@mail.gmail.com>
- In-Reply-To
- <patch-01.17-c167bde3c0c-20230317T152724Z-avarab@gmail.com>
On Fri, Mar 17, 2023 at 9:41 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
> > The "parse_commit_gently" macro went away in [1], so we don't need to > carry his for its migration.
s/his/this/ ?
> 1. ea3f7e598c8 (revision: use repository from rev_info when parsing > commits, 2020-06-23)
Thanks for the explanation and link.
Show 26 quoted lines
> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> > --- > contrib/coccinelle/the_repository.pending.cocci | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/contrib/coccinelle/the_repository.pending.cocci b/contrib/coccinelle/the_repository.pending.cocci > index 747d382ff5f..23b97536da5 100644 > --- a/contrib/coccinelle/the_repository.pending.cocci > +++ b/contrib/coccinelle/the_repository.pending.cocci > @@ -34,14 +34,6 @@ expression G; > + repo_parse_commit_internal(the_repository, > E, F, G) > > -@@ > -expression E; > -expression F; > -@@ > -- parse_commit_gently( > -+ repo_parse_commit_gently(the_repository, > - E, F) > - > @@ > expression E; > @@ > -- > 2.40.0.rc1.1034.g5867a1b10c5