Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2020-10-13 16:18:50 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2020-10-13 16:20:43 +0300
commit9da983868f86690156428c516f990a3011c72e7e (patch)
tree0ce3a9e1c0b21ed951e4a4de17ffb5628f642eb4
parent1a148028726c915cb9b1a92a28f9d2e6160db117 (diff)
gitignore: Clean up and group exclude patterns
Our gitignore file has grown over time and became quite hard to read. It's carrying patterns for things which have been removed meanwhile and the remaining patterns aren't grouped in any logical way. Improve the file by grouping together related ignore patterns and stripping those which aren't needed anymore.
-rw-r--r--.gitignore36
1 files changed, 19 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index 9d277070e..612c48d24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,29 +1,31 @@
-/_build
-/config.mak
+# Top-level executables
/gitaly
+/gitaly-blackbox
+/gitaly-debug
/gitaly-git2go
/gitaly-hooks
-cmd/gitaly-ssh/gitaly-ssh
/gitaly-ssh
-cmd/gitaly-wrapper/gitaly-wrapper
/gitaly-wrapper
-**/testdata/gitaly-libexec/
+/praefect
+
+# Generic artifacts
+/_build
/*.deb
-/_support/package/bin
-/_support/bin
-/internal/service/smarthttp/testdata
-/internal/testhelper/testdata/data
-/*.toml
+/proto.diff
+
+# Ruby build artifacts
/.ruby-bundle
/ruby/vendor/bundle
/ruby/.bundle
/ruby/tmp
+/gitaly-*.gem
+
+# Test data
+/internal/service/smarthttp/testdata
+/internal/testhelper/testdata/data
+/**/testdata/gitaly-libexec
+
+# Configuration and runtime data
+/*.toml
*.socket
-git-env
-/gitaly-debug
-/praefect
gitaly.pid
-/vendor
-/gitaly-*.gem
-/gitaly-blackbox
-/proto.diff