Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1428219

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

From Kieran Bingham <kieran@ksquared.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore
Date 2016-06-22 00:10 +0200
Message-ID <rMC1Q-3dH-1@gated-at.bofh.it> (permalink)
References <rMBp7-2Kp-15@gated-at.bofh.it> <rMBp7-2Kp-13@gated-at.bofh.it> <rMByN-2NM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore Kieran Bingham <kieran@ksquared.org.uk> - 2016-06-21 23:30 +0200
  Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore Omar Sandoval <osandov@osandov.com> - 2016-06-21 23:40 +0200
    Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore Kieran Bingham <kieran@ksquared.org.uk> - 2016-06-22 00:10 +0200
      Re: [PATCH v2] scripts/gdb: add constants.py to .gitignore Omar Sandoval <osandov@osandov.com> - 2016-06-22 00:10 +0200

csiph-web