xref: /freebsd/contrib/file/magic/Magdir/git (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
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