Re: [PATCH] perf tools: Ignore Documentation dependency file

From: Ian Rogers
Date: Sun Sep 12 2021 - 12:22:14 EST


On Sat, Sep 11, 2021 at 11:57 AM Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
>
> Em Sat, Sep 11, 2021 at 03:37:20PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Fri, Sep 10, 2021 at 04:22:49PM -0700, Ian Rogers escreveu:
> > > Reported-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> > > Fixes: a81df63a5df3 ("perf doc: Fix doc.dep")
> > > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> >
> > Thanks for the patch, but you forgot to mention _why_ we should ignore
> > that file, I'll try to figure out.
>
> Added this, probably anodine, but better than nothing :-)
>
> ---
> When building directly on the checked out repository the build process
> produces a file that should be ignored, so add it to .gitignore.
> ---

Sounds good to me.

Thanks,
Ian

> - Arnaldo
> >
> > > ---
> > > tools/perf/.gitignore | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore
> > > index e555e9729758..8e0163b7ef01 100644
> > > --- a/tools/perf/.gitignore
> > > +++ b/tools/perf/.gitignore
> > > @@ -39,3 +39,4 @@ pmu-events/jevents
> > > feature/
> > > fixdep
> > > libtraceevent-dynamic-list
> > > +Documentation/doc.dep
> > > --
> > > 2.33.0.309.g3052b89438-goog
> >
> > --
> >
> > - Arnaldo
>
> --
>
> - Arnaldo