Package: file Version: 5.04-2 Severity: wishlist Tags: patch My initial goal was to add a rule for loose Git objects, but this is pretty much impossible as pointed out in #509942. Not to come out completely empty-handed, I added this lame rule for the Git index file instead. Not that there's any glory in this, though. :)
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.33 (SMP w/1 CPU core) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libmagic1 depends on: ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime libmagic1 recommends no packages. Versions of packages libmagic1 suggests: ii file 5.04-2 Determines file type using "magic" Versions of packages file depends on: ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime -- no debconf information
--- file.orig/magic/Magdir/revision +++ file/magic/Magdir/revision @@ -28,6 +28,12 @@ 0 string \377tOc Git pack index >4 belong =2 \b, version 2 +# Type: Git index file +# From: Frédéric Brière <[email protected]> +0 string DIRC Git index +>4 belong >0 \b, version %d +>>8 belong >0 \b, %d entries + # Type: Mercurial bundles # From: Seo Sanghyeon <[email protected]> 0 string HG10 Mercurial bundle,

