Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore

From: Omar Sandoval
Date: Tue Jun 21 2016 - 18:05:34 EST


On Tue, Jun 21, 2016 at 11:03:39PM +0100, Kieran Bingham wrote:
> On 21/06/16 22:34, Omar Sandoval wrote:
> > $ git status
> > On branch master
> > Untracked files:
> > (use "git add <file>..." to include in what will be committed)
> >
> > asdf
> >
> > nothing added to commit but untracked files present (use "git add" to track)
> > ----
> >
> > tools/thermal/tmon/.gitignore also uses the leading slash.
>
> Aha yes,
>
> find -name .gitignore -exec grep -Hin '^/' {} \;
> ./tools/thermal/tmon/.gitignore:1:/tmon
> ./.gitignore:44:/tags
> ./.gitignore:45:/TAGS
> ./.gitignore:46:/linux
> ./.gitignore:47:/vmlinux
> ./.gitignore:48:/vmlinux.32
> ./.gitignore:49:/vmlinux-gdb.py
> ./.gitignore:50:/vmlinuz
> ./.gitignore:51:/System.map
> ./.gitignore:52:/Module.markers
> ./.gitignore:57:/debian/
> ./.gitignore:62:/tar-install/
>
> I think we'll call this the exception rather than the norm, and I'd
> prefer to match the other 177 .gitignore files in their style.
>
> >
> > If you want to drop the /, I'm okay with it.
>
>
> Thanks for the testing, and checking.
> Patch picked, and '/' silently dropped.

Sounds good, thanks!

--
Omar