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