summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:00:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:00:10 +0000
commit1ebbd027274333758fc3517685d81847601db676 (patch)
tree5259d053d3e3066e0745150805fa4b20184eef98 /magic/Magdir/diff
parentInitial commit. (diff)
downloadfile-1ebbd027274333758fc3517685d81847601db676.tar.xz
file-1ebbd027274333758fc3517685d81847601db676.zip
Adding upstream version 1:5.45.upstream/1%5.45upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--magic/Magdir/diff41
1 files changed, 41 insertions, 0 deletions
diff --git a/magic/Magdir/diff b/magic/Magdir/diff
new file mode 100644
index 0000000..a6124e3
--- /dev/null
+++ b/magic/Magdir/diff
@@ -0,0 +1,41 @@
+
+#------------------------------------------------------------------------------
+# $File: diff,v 1.17 2020/08/22 18:16:58 christos Exp $
+# diff: file(1) magic for diff(1) output
+#
+0 search/1 diff\040 diff output text
+!:mime text/x-diff
+0 search/1 ***\040
+>&0 search/1024 \n---\040 context diff output text
+!:mime text/x-diff
+0 search/1 Only\040in\040 diff output text
+!:mime text/x-diff
+0 search/1 Common\040subdirectories:\040 diff output text
+!:mime text/x-diff
+
+0 search/1 Index: RCS/CVS diff output text
+!:mime text/x-diff
+
+# bsdiff: file(1) magic for bsdiff(1) output
+0 string/b BSDIFF40 bsdiff(1) patch file
+
+
+# unified diff
+0 search/4096 ---\040
+>&0 search/1024 \n
+>>&0 search/1 +++\040
+>>>&0 search/1024 \n
+>>>>&0 search/1 @@ unified diff output text
+!:mime text/x-diff
+!:strength + 90
+
+# librsync -- the library for network deltas
+#
+# Copyright (C) 2001 by Martin Pool. You may do whatever you want with
+# this file.
+#
+0 belong 0x72730236 rdiff network-delta data
+
+0 belong 0x72730136 rdiff network-delta signature data
+>4 belong x (block length=%d,
+>8 belong x signature strength=%d)