Stop including broken LFS files in source tarball

This commit is contained in:
Federico Ceratto 2025-05-10 11:03:11 +02:00 committed by Ivan Molodetskikh
parent 3b864dc104
commit d8265ad34e

11
.gitattributes vendored
View file

@ -1 +1,12 @@
# LFS configuration for images from the wiki
*.png filter=lfs diff=lfs merge=lfs -text
# Exclude LFS-tracked files from the tarball
/wiki/img/ export-ignore
# exclude .gitattributes itself from the tarball
.gitattributes export-ignore
# tip: can be tested using
# git archive --format=tar.gz --output=source.tar.gz HEAD && \
# tar tfvz source.tar.gz | grep -e '.png' -e '.gitattributes'