aboutsummaryrefslogtreecommitdiff
path: root/contrib/file/magic/Magdir/revision
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/magic/Magdir/revision')
-rw-r--r--contrib/file/magic/Magdir/revision27
1 files changed, 2 insertions, 25 deletions
diff --git a/contrib/file/magic/Magdir/revision b/contrib/file/magic/Magdir/revision
index 824220a3d295..cf7e2f4d7a13 100644
--- a/contrib/file/magic/Magdir/revision
+++ b/contrib/file/magic/Magdir/revision
@@ -1,7 +1,8 @@
#------------------------------------------------------------------------------
-# $File: revision,v 1.11 2019/04/19 00:42:27 christos Exp $
+# $File: revision,v 1.12 2024/08/30 17:29:28 christos Exp $
# file(1) magic for revision control files
+
# From Hendrik Scholz <hendrik@scholz.net>
0 string/t /1\ :pserver: cvs password text file
@@ -13,30 +14,6 @@
# From: Josh Triplett <josh@freedesktop.org>
0 string #\ v2\ git\ bundle\n Git bundle
-# Type: Git pack
-# From: Adam Buchbinder <adam.buchbinder@gmail.com>
-# Update: Joerg Jenderek
-# URL: http://fileformats.archiveteam.org/wiki/Git
-# reference: https://github.com/git/git/blob/master/Documentation/technical/pack-format.txt
-# The actual magic is 'PACK', but that clashes with Doom/Quake packs. However,
-# those have a little-endian offset immediately following the magic 'PACK',
-# the first byte of which is never 0, while the first byte of the Git pack
-# version, since it's a tiny number stored in big-endian format, is always 0.
-0 string PACK
-# GRR: line above is too general as it matches also PackDir archive ./acorn
-# test for major version. Git 2017 accepts version number 2 or 3
->4 ubelong <9
-# Acorn PackDir with method 0 compression has root like ADFS::HardDisc4.$.AsylumSrc
-# or SystemDevice::foobar
->>9 search/13 ::
-# but in git binary
->>9 default x Git pack
-!:mime application/x-git
-!:ext pack
-# 4 GB limit implies unsigned integer
->>>4 ubelong x \b, version %u
->>>8 ubelong x \b, %u objects
-
# Type: Git pack index
# From: Adam Buchbinder <adam.buchbinder@gmail.com>
0 string \377tOc Git pack index