xref: /freebsd/contrib/file/magic/Magdir/git (revision 257e70f1d5ee61037c8c59b116538d3b6b1427a2)
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
60	string	blob\040
7>5	regex	[0-9a-f]+		Git blob %s
8
90	string	tree\040
10>5	regex	[0-9a-f]+		Git tree %s
11
120	string	commit\040
13>7	regex	[0-9a-f]+		Git commit %s
14