1 2 #------------------------------------------------------------------------------ 3 # $File: git,v 1.2 2020/08/09 16:57:15 christos Exp $ 4 # git: file(1) magic for Git objects 5 6 0 string blob\040 7 >5 regex [0-9a-f]+ Git blob %s 8 9 0 string tree\040 10 >5 regex [0-9a-f]+ Git tree %s 11 12 0 string commit\040 13 >7 regex [0-9a-f]+ Git commit %s 14