mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-24 02:14:52 +01:00
Use rooted paths in .gitignore files
A leading / in paths in a .gitignore file matches the beginning of the path, meaning that for patterns without slashes, git will match files only in the current directory as opposed to in any subdirectory. Prefix relevant paths with / in .gitignore files, to prevent accidentally ignoring files in subdirectories and possibly slightly improve the performance of "git status".
This commit is contained in:
parent
4d44976135
commit
ca4688e103
14 changed files with 58 additions and 58 deletions
18
.gitignore
vendored
18
.gitignore
vendored
|
@ -1,16 +1,16 @@
|
|||
.first-build-message
|
||||
Makefile.config
|
||||
sh.config
|
||||
version.stamp
|
||||
/.first-build-message
|
||||
/Makefile.config
|
||||
/sh.config
|
||||
/version.stamp
|
||||
TAGS
|
||||
tags
|
||||
*cscope*
|
||||
.deps
|
||||
/.deps
|
||||
/notmuch
|
||||
notmuch-shared
|
||||
libnotmuch.so*
|
||||
libnotmuch*.dylib
|
||||
/notmuch-shared
|
||||
/lib/libnotmuch.so*
|
||||
/lib/libnotmuch*.dylib
|
||||
*.[ao]
|
||||
*~
|
||||
.*.swp
|
||||
releases
|
||||
/releases
|
||||
|
|
2
bindings/python/.gitignore
vendored
2
bindings/python/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
*.py[co]
|
||||
/docs/build
|
||||
/docs/html
|
||||
build/
|
||||
/build/
|
||||
|
|
6
bindings/ruby/.gitignore
vendored
6
bindings/ruby/.gitignore
vendored
|
@ -1,7 +1,7 @@
|
|||
# .gitignore for bindings/ruby
|
||||
|
||||
# Generated files
|
||||
Makefile
|
||||
mkmf.log
|
||||
notmuch.so
|
||||
/Makefile
|
||||
/mkmf.log
|
||||
/notmuch.so
|
||||
*.o
|
||||
|
|
2
compat/.gitignore
vendored
2
compat/.gitignore
vendored
|
@ -1 +1 @@
|
|||
zlib.pc
|
||||
/zlib.pc
|
||||
|
|
6
contrib/go/.gitignore
vendored
6
contrib/go/.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
src/github.com/
|
||||
pkg/
|
||||
bin/
|
||||
/src/github.com/
|
||||
/pkg/
|
||||
/bin/
|
||||
|
|
4
contrib/notmuch-mutt/.gitignore
vendored
4
contrib/notmuch-mutt/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
notmuch-mutt.1
|
||||
README.html
|
||||
/notmuch-mutt.1
|
||||
/README.html
|
||||
|
|
28
debian/.gitignore
vendored
28
debian/.gitignore
vendored
|
@ -1,14 +1,14 @@
|
|||
tmp/
|
||||
libnotmuch-dev/
|
||||
libnotmuch*/
|
||||
notmuch-emacs/
|
||||
notmuch/
|
||||
notmuch-dbg/
|
||||
notmuch-mutt/
|
||||
notmuch-vim/
|
||||
ruby-notmuch/
|
||||
python*-notmuch/
|
||||
*.debhelper
|
||||
*.debhelper.log
|
||||
*.substvars
|
||||
files
|
||||
/tmp/
|
||||
/libnotmuch-dev/
|
||||
/libnotmuch*/
|
||||
/notmuch-emacs/
|
||||
/notmuch/
|
||||
/notmuch-dbg/
|
||||
/notmuch-mutt/
|
||||
/notmuch-vim/
|
||||
/ruby-notmuch/
|
||||
/python*-notmuch/
|
||||
/*.debhelper
|
||||
/*.debhelper.log
|
||||
/*.substvars
|
||||
/files
|
||||
|
|
2
devel/nmbug/doc/.gitignore
vendored
2
devel/nmbug/doc/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
*.pyc
|
||||
_build
|
||||
/_build
|
||||
|
|
4
doc/.gitignore
vendored
4
doc/.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
*.pyc
|
||||
_build
|
||||
config.dox
|
||||
/_build
|
||||
/config.dox
|
||||
|
|
8
emacs/.gitignore
vendored
8
emacs/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
.eldeps*
|
||||
*.elc
|
||||
notmuch-version.el
|
||||
notmuch-pkg.el
|
||||
/.eldeps*
|
||||
/*.elc
|
||||
/notmuch-version.el
|
||||
/notmuch-pkg.el
|
||||
|
|
8
performance-test/.gitignore
vendored
8
performance-test/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
tmp.*/
|
||||
log.*/
|
||||
corpus/
|
||||
notmuch.cache.*/
|
||||
/tmp.*/
|
||||
/log.*/
|
||||
/corpus/
|
||||
/notmuch.cache.*/
|
||||
|
|
4
performance-test/download/.gitignore
vendored
4
performance-test/download/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
*.tar.gz
|
||||
*.tar.xz
|
||||
/*.tar.gz
|
||||
/*.tar.xz
|
||||
|
|
22
test/.gitignore
vendored
22
test/.gitignore
vendored
|
@ -1,11 +1,11 @@
|
|||
arg-test
|
||||
corpora.mail
|
||||
hex-xcode
|
||||
parse-time
|
||||
random-corpus
|
||||
smtp-dummy
|
||||
symbol-test
|
||||
make-db-version
|
||||
test-results
|
||||
ghost-report
|
||||
tmp.*
|
||||
/arg-test
|
||||
/corpora.mail
|
||||
/hex-xcode
|
||||
/parse-time
|
||||
/random-corpus
|
||||
/smtp-dummy
|
||||
/symbol-test
|
||||
/make-db-version
|
||||
/test-results
|
||||
/ghost-report
|
||||
/tmp.*
|
||||
|
|
2
test/test-databases/.gitignore
vendored
2
test/test-databases/.gitignore
vendored
|
@ -1 +1 @@
|
|||
*.tar.xz
|
||||
/*.tar.xz
|
||||
|
|
Loading…
Reference in a new issue