I'd like to use git to track Media files as long as associated playlists. Tracking playlists is easy, cause these are text files. About the binary files, I've already taken a look at git-lfs and git-annex, but would want to explore the following way:
Flac files provide an internal md5 hash. Such hash may be accessed through
metaflac --show-md5sum filename.flac
With performance in mind, I'd like to ask git to use "flac md5 hash", not the git internal hash.
How is it possible to do such thing ?
I've read the gitattributes documentation but did not find the answer.
PS: 1st goal is to get lightning fast performance. 2nd goal is that any metadata change to a file would be ignored.