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