summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-02-23 16:58:00 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-02-23 16:58:00 -0600
commitaf1f5676c9190a9e6f92f0e62b49e515699c9b41 (patch)
tree31de0cef917ee202b180ff45254d8f287fbb3fa5
parent41666918132b272a055479af02bb623a4d56ec8a (diff)
downloadnixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar
nixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar.gz
nixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar.bz2
nixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar.lz
nixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar.xz
nixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.tar.zst
nixpkgs-af1f5676c9190a9e6f92f0e62b49e515699c9b41.zip
Add .gitattributes file
This adds the .gitattributes file to the tree. I’ve added two
attributes: linguist-generated, and linguist-documentation.

GitHub’s Linguist will follow this when calculating our language stats
as well as in other cases like commit diffs.

Any additional attributes or other generated files are welcome to be added!
-rw-r--r--.gitattributes13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..a636295ebd6
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,13 @@
+**/deps.nix linguist-generated
+**/node-packages.nix linguist-generated
+
+pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated
+pkgs/development/r-modules/*-packages.nix linguist-generated
+pkgs/development/haskell-modules/hackage-packages.nix linguist-generated
+pkgs/development/beam-modules/hex-packages.nix linguist-generated
+
+doc/** linguist-documentation
+doc/default.nix linguist-documentation=false
+
+nixos/doc/** linguist-documentation
+nixos/doc/default.nix linguist-documentation=false