I am using git-fat with git to handle large binary files. The problem I am trying to solve is to prevent large binaries being added to local commits IF they are not going to be handled by git-fat.
My approach is to update the pre-commit to block all binary files and only allow files IF:
- the git fat initwas ran
- the .gitfat file exists and has the rsync configured
- run git check-attr filteron the file to verifyfilter: fatis in the output
Am I missing a trick with this? What is a good way to solve this problem with git and git-fat
For example, Is there anything I can do with the .git/fat/objects to determine that git-fat handled the file when git add was called on the binary file?
 
    