Messages in this thread | | | Subject | Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore | From | Kieran Bingham <> | Date | Tue, 21 Jun 2016 23:03:39 +0100 |
| |
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.
-- Regards
Kieran Bingham
| |