Skip to content

Commit

Permalink
Drop dotfiles from archives and C files from statistics
Browse files Browse the repository at this point in the history
Add a .gitattributes file listing files that should be ignored
by `git archive` and ignoring the imported htslib/samtools/bcftools
code for the purposes of GitHub's language use statistics.
  • Loading branch information
jmarshall committed Sep 20, 2023
1 parent 56a1e86 commit 857f700
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Omit these files from GitHub's generated tarballs
/.git* export-ignore
/.readthedocs.yaml export-ignore
/.travis.disabled.yml export-ignore

# Omit imported C files from GitHub's language statistics
htslib/** linguist-vendored
samtools/** linguist-vendored
samtools/samtools.pysam.* -linguist-vendored
bcftools/** linguist-vendored
bcftools/bcftools.pysam.* -linguist-vendored

0 comments on commit 857f700

Please sign in to comment.