diff options
author | silverwind <me@silverwind.io> | 2019-12-19 00:34:23 +0100 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-12-19 00:34:23 +0100 |
commit | 8873a80276087a0efec312f43504f57e964589ea (patch) | |
tree | 577858d631a879cdf059b4c83e388f3690299394 /.ignore | |
parent | d64493495623280d324fb5908f7fb20952f18a3d (diff) | |
download | gitea-8873a80276087a0efec312f43504f57e964589ea.tar.gz gitea-8873a80276087a0efec312f43504f57e964589ea.zip |
Add .ignore file for search tools (#9417)
* Add .ignore file for search tools
Tools like `rg` [1] and `ag` [2] support a `.ignore` file which defines
files that are ignored during a recursive search. This adds the file
which makes recursive file searches in the code base ignore files that
are generally not desirable to search in like bindata, vendored files
and compiled frontend assets.
[1] https://github.com/BurntSushi/ripgrep/
[2] https://github.com/ggreer/the_silver_searcher
* add leading slash
* remove files already in .gitignore
Diffstat (limited to '.ignore')
-rw-r--r-- | .ignore | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.ignore b/.ignore new file mode 100644 index 0000000000..56ad996bb4 --- /dev/null +++ b/.ignore @@ -0,0 +1,5 @@ +/vendor +/public/vendor +/modules/options/bindata.go +/modules/public/bindata.go +/modules/templates/bindata.go |