head 1.1; branch 1.1.1; access; symbols FILE5_48:1.1.1.2 netbsd-11-0-RC4:1.1.1.2 netbsd-11-0-RC3:1.1.1.2 netbsd-11-0-RC2:1.1.1.2 netbsd-11-0-RC1:1.1.1.2 perseant-exfatfs-base-20250801:1.1.1.2 netbsd-11:1.1.1.2.0.10 netbsd-11-base:1.1.1.2 netbsd-10-1-RELEASE:1.1.1.2 perseant-exfatfs-base-20240630:1.1.1.2 perseant-exfatfs:1.1.1.2.0.8 perseant-exfatfs-base:1.1.1.2 netbsd-10-0-RELEASE:1.1.1.2 netbsd-10-0-RC6:1.1.1.2 netbsd-10-0-RC5:1.1.1.2 netbsd-10-0-RC4:1.1.1.2 netbsd-10-0-RC3:1.1.1.2 netbsd-10-0-RC2:1.1.1.2 netbsd-10-0-RC1:1.1.1.2 FILE5_45:1.1.1.2 netbsd-10:1.1.1.2.0.6 netbsd-10-base:1.1.1.2 FILE5_43:1.1.1.2 cjep_sun2x-base1:1.1.1.2 cjep_sun2x:1.1.1.2.0.4 cjep_sun2x-base:1.1.1.2 cjep_staticlib_x-base1:1.1.1.2 cjep_staticlib_x:1.1.1.2.0.2 cjep_staticlib_x-base:1.1.1.2 FILE5_40:1.1.1.2 FILE5_39:1.1.1.1 phil-wifi-20200421:1.1.1.1 phil-wifi-20200411:1.1.1.1 phil-wifi:1.1.1.1.0.4 is-mlppp:1.1.1.1.0.2 is-mlppp-base:1.1.1.1 phil-wifi-20200406:1.1.1.1 FILE5_38:1.1.1.1 CHRISTOS:1.1.1; locks; strict; comment @# @; 1.1 date 2019.12.17.02.23.53; author christos; state Exp; branches 1.1.1.1; next ; commitid vqYTz60fS9PNg0PB; 1.1.1.1 date 2019.12.17.02.23.53; author christos; state Exp; branches 1.1.1.1.4.1; next 1.1.1.2; commitid vqYTz60fS9PNg0PB; 1.1.1.2 date 2021.04.09.18.58.02; author christos; state Exp; branches; next ; commitid W9ddLLbSkHHinEOC; 1.1.1.1.4.1 date 2019.12.17.02.23.53; author martin; state dead; branches; next 1.1.1.1.4.2; commitid Qli2aW9E74UFuA3C; 1.1.1.1.4.2 date 2020.04.08.14.04.04; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; desc @@ 1.1 log @Initial revision @ text @ #------------------------------------------------------------------------------ # $File: git,v 1.1 2019/10/04 18:46:29 christos Exp $ # git: file(1) magic for Git objects 0 string blob\040 >5 regex [0-9]+ Git blob %s 0 string tree\040 >5 regex [0-9]+ Git tree %s 0 string commit\040 >7 regex [0-9]+ Git commit %s @ 1.1.1.1 log @Import 5.38: - Always accept -S (no sandbox) even if we don't support sandboxing - More syscalls elided for sandboxiing - For ELF dynamic means having an interpreter not just PT_DYNAMIC - Check for large ELF session header offset - When saving and restoring a locale, keep the locale name in our own storage. - Add a flag to disable CSV file detection. - Don't pass NULL/0 to memset to appease sanitizers. - Avoid spurious prints when looks for extensions or apple strings in fsmagic. - Add builtin decompressors for xz and and bzip. - Add a limit for the number of CDF elements. - More checks for overflow in CDF. @ text @@ 1.1.1.2 log @2021-03-30 20:21 Christos Zoulas * release 5.40 2021-02-05 16:31 Christos Zoulas * PR/234: Add limit to the number of bytes to scan for encoding * PR/230: Fix /T (trim flag) for regex 2021-02-01 12:31 Christos Zoulas * PR/77: Trim trailing separator. 2020-12-17 15:44 Christos Zoulas * PR/211: Convert system read errors from corrupt ELF files into human readable error messages 2020-12-08 16:24 Christos Zoulas * fix multithreaded decompression file descriptor issue by using close-on-exec (Denys Vlasenko) 2020-06-27 11:58 Christos Zoulas * Exclude surrogate pairs from utf-8 detection (Michael Liu) 2020-06-25 12:53 Christos Zoulas * Include # to the list of ignored format chars (Werner Fink) @ text @d3 1 a3 1 # $File: git,v 1.2 2020/08/09 16:57:15 christos Exp $ d7 1 a7 1 >5 regex [0-9a-f]+ Git blob %s d10 1 a10 1 >5 regex [0-9a-f]+ Git tree %s d13 1 a13 1 >7 regex [0-9a-f]+ Git commit %s @ 1.1.1.1.4.1 log @file git was added on branch phil-wifi on 2020-04-08 14:04:04 +0000 @ text @d1 13 @ 1.1.1.1.4.2 log @Merge changes from current as of 20200406 @ text @a0 13 #------------------------------------------------------------------------------ # $File: git,v 1.1 2019/10/04 18:46:29 christos Exp $ # git: file(1) magic for Git objects 0 string blob\040 >5 regex [0-9]+ Git blob %s 0 string tree\040 >5 regex [0-9]+ Git tree %s 0 string commit\040 >7 regex [0-9]+ Git commit %s @