xref: /freebsd/contrib/file/magic/Magdir/diff (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1
2#------------------------------------------------------------------------------
3# $File: diff,v 1.17 2020/08/22 18:16:58 christos Exp $
4# diff:  file(1) magic for diff(1) output
5#
60	search/1	diff\040	diff output text
7!:mime	text/x-diff
80	search/1	***\040
9>&0	search/1024	\n---\040	context diff output text
10!:mime	text/x-diff
110	search/1	Only\040in\040 	diff output text
12!:mime	text/x-diff
130	search/1	Common\040subdirectories:\040 	diff output text
14!:mime	text/x-diff
15
160	search/1	Index:		RCS/CVS diff output text
17!:mime	text/x-diff
18
19# bsdiff:  file(1) magic for bsdiff(1) output
200	string/b	BSDIFF40	bsdiff(1) patch file
21
22
23# unified diff
240	search/4096	---\040
25>&0	search/1024 	\n
26>>&0	search/1 	+++\040
27>>>&0	search/1024 	\n
28>>>>&0	search/1	@@		unified diff output text
29!:mime	text/x-diff
30!:strength + 90
31
32# librsync -- the library for network deltas
33#
34# Copyright (C) 2001 by Martin Pool.  You may do whatever you want with
35# this file.
36#
370	belong		0x72730236	rdiff network-delta data
38
390	belong		0x72730136	rdiff network-delta signature data
40>4	belong		x		(block length=%d,
41>8	belong		x		signature strength=%d)
42