A test to see if I can get Git LFS to work.
Find a file
Tom Willemse 21b2e300a2 Add pre-receive hook that blocks binary files
The documentation[1] says that the ‘--numstat’ option for ‘git diff’ will
display ‘-’ for both added and deleted lines for binary files. This script uses
that to detect that binary files are being pushed and will reject them.

This is naive and simplistic. ‘git diff’ shows the same output when binary files
are deleted (or replaced with git-lfs placeholders), so this would prevent us
from fixing errors. But for now it helps us prevent accidental submissions of
binary files.

[1]: man 1 git-diff
2024-02-22 15:48:06 -08:00
assets/music Add song 2023-12-16 23:46:31 -08:00
build Add pre-receive hook that blocks binary files 2024-02-22 15:48:06 -08:00
.gitattributes Add song (CC-BY) 2023-10-13 14:08:05 -07:00
manifest.scm Add Guix manifest for development purposes 2023-11-14 16:33:00 -08:00
tasks.py Add tasks that Emacsen wrote for generating media info 2023-11-14 16:32:54 -08:00