aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-01-06 11:11:22 -0800
committerJohn MacFarlane <[email protected]>2022-01-06 11:11:22 -0800
commitde400e5ce5103f60024cc4d1f7797ee708f2e238 (patch)
tree6e5819615490e44fe75c79ea0f2830e394a1f128 /.gitignore
parent0d99a131b179b1e298718533af54940d9bc431e1 (diff)
Modify .gitignore.
The new approach is to whitelist directories and files we want in the repository. This way 'git status' will not flood output with untracked files.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore75
1 files changed, 41 insertions, 34 deletions
diff --git a/.gitignore b/.gitignore
index 13864c5a2..710b6774d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,35 +1,42 @@
-*~
-.DS_Store
-*.orig
-deb/.vagrant
-dist/*
-MANUAL.*
+*
+!.circleci/*
+!.editorconfig
+!.gitattributes
+!.github/*
+!.gitignore
+!.hlint.yaml
+!.mailmap
+!.stylish-haskell.yaml
+!AUTHORS.md
+!BUGS
+!CONTRIBUTING.md
+!COPYING.md
+!COPYRIGHT
+!INSTALL.md
!MANUAL.txt
-.configure-stamp
-.cabal-sandbox
-cabal.sandbox.config
-pandoc.cabal.orig
-man/man?/*.1
-man/man?/*.5
-man/man?/*.html
-*.diff
-*.o
-*.hi
-*.pyc
-.hie/
-.policeman-evidence/
-.projectile/
-.vscode/
-/COPYING.rtf
-/COPYRIGHT.txt
-/cabal-dev/
-/windows/*.msi
-/windows/*.wixpdb
-windows/*.wixobj
-data/reference.docx
-data/reference.odt
-.stack-work
-/stack.yaml.lock
-cabal.project.local
-/dist-newstyle/
-pandoc-2*/
+!Makefile
+!README.md
+!README.template
+!RELEASE-CHECKLIST
+!SECURITY.md
+!Setup.hs
+!cabal.project
+!changelog.md
+!default.nix
+!pandoc.cabal
+!release.nix
+!shell.nix
+!stack.yaml
+!app/*
+!benchmark/*
+!citeproc/*
+!data/*
+!doc/*
+!linux/*
+!macos/*
+!man/*
+!src/*
+!test/*
+!tools/*
+!trypandoc/*
+!windows/*