<div dir="ltr">I don't think so because the entire dir linux/linux is untracked no matter what files are inside it.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 28, 2018 at 1:32 PM Chen Jingpiao <<a href="mailto:chenjingpiao@gmail.com">chenjingpiao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/28 01:10, Zhibin Li wrote:<br>
> Yes I noticed that. That's exactly why we should add dir linux/linux into<br>
> .gitignore because it's no longer in the repo. According to the commit<br>
> message from 15003d43 "<linux/signal.h> can be used along with <signal.h>,<br>
> install linux/linux/signal.h workaround if they cannot be used together",<br>
> linux/linux/signal.h will be created conditionally, which means in some<br>
> cases this will become an untracked file if I'm understanding right.<br>
<br>
Sorry, my mistake. Can we only ignore linux/linux/signal.h instead of<br>
entire directory?<br>
<br>
> <br>
> Zhibin Li<br>
> On Thu, Jun 28, 2018 at 12:40 AM Chen Jingpiao <<a href="mailto:chenjingpiao@gmail.com" target="_blank">chenjingpiao@gmail.com</a>><br>
> wrote:<br>
> <br>
> > On 06/28 12:02, Zhibin Li wrote:<br>
> > > Ignore directory linux/linux created by workaround from commit 15003d43.<br>
> ><br>
> > linux/linux directory was introduced by commit v4.22-356-gb27397a7, and<br>
> > have removed in commit v4.23-11-g15003d43<br>
> ><br>
> > > ---<br>
> > >  .gitignore | 1 +<br>
> > >  1 file changed, 1 insertion(+)<br>
> > ><br>
> > > diff --git a/.gitignore b/.gitignore<br>
> > > index 13c196d9..757179e7 100644<br>
> > > --- a/.gitignore<br>
> > > +++ b/.gitignore<br>
> > > @@ -34,6 +34,7 @@<br>
> > >  /libmpers-m32.a<br>
> > >  /libmpers-mx32.a<br>
> > >  /libstrace.a<br>
> > > +/linux/linux<br>
> > >  /m32_funcs.h<br>
> > >  /m32_printer_decls.h<br>
> > >  /m32_printer_defs.h<br>
> > > --<br>
> > > 2.14.4<br>
> ><br>
<br>
--<br>
Chen Jingpiao<br>
-- <br>
Strace-devel mailing list<br>
<a href="mailto:Strace-devel@lists.strace.io" target="_blank">Strace-devel@lists.strace.io</a><br>
<a href="https://lists.strace.io/mailman/listinfo/strace-devel" rel="noreferrer" target="_blank">https://lists.strace.io/mailman/listinfo/strace-devel</a><br>
</blockquote></div>