about summary refs log tree commit diff
path: root/third_party/git/t/oid-info
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-21T10·03+0300
committerVincent Ambo <mail@tazj.in>2021-09-21T11·29+0300
commit43b1791ec601732ac31195df96781a848360a9ac (patch)
treedaae8d638343295d2f1f7da955e556ef4c958864 /third_party/git/t/oid-info
parent2d8e7dc9d9c38127ec4ebd13aee8e8f586a43318 (diff)
chore(3p/git): Unvendor git and track patches instead r/2903
This was vendored a long time ago under the expectation that keeping
it in sync with cgit would be easier this way, but it has proven not
to be a big issue.

On the other hand, a vendored copy of git is an annoying maintenance
burden. It is much easier to rebase the single (dottime) patch that we
have.

This removes the vendored copy of git and instead passes the git
source code to cgit via `pkgs.srcOnly`, which includes the applied
patch so that cgit can continue rendering dottime.

Change-Id: If31f62dea7ce688fd1b9050204e9378019775f2b
Diffstat (limited to 'third_party/git/t/oid-info')
-rw-r--r--third_party/git/t/oid-info/README19
-rw-r--r--third_party/git/t/oid-info/hash-info17
-rw-r--r--third_party/git/t/oid-info/oid29
3 files changed, 0 insertions, 65 deletions
diff --git a/third_party/git/t/oid-info/README b/third_party/git/t/oid-info/README
deleted file mode 100644
index 27f843fc0006..000000000000
--- a/third_party/git/t/oid-info/README
+++ /dev/null
@@ -1,19 +0,0 @@
-This directory contains various per-hash values that are used in the testsuite.
-
-Each file contains lines containing a key-value pair; blank lines and lines
-starting with `#` are ignored.  The key and value are separated by whitespace
-(specifically, those whitespace in the default `$IFS`).  The key consists only
-of shell identifier characters, and the value consists of a hash algorithm,
-colon, and value.  The hash algorithm also consists only of shell identifier
-characters; it should match the value in sha1-file.c.
-
-For example, the following lines map the key "rawsz" to "20" if SHA-1 is in use
-and to "32" if SHA-256 is in use:
-
-----
-rawsz sha1:20
-rawsz sha256:32
-----
-
-The keys and values used here are loaded by `test_oid_init` (see the README file
-in the "t" directory) and are used by calling `test_oid`.
diff --git a/third_party/git/t/oid-info/hash-info b/third_party/git/t/oid-info/hash-info
deleted file mode 100644
index d0736dd1a00d..000000000000
--- a/third_party/git/t/oid-info/hash-info
+++ /dev/null
@@ -1,17 +0,0 @@
-rawsz sha1:20
-rawsz sha256:32
-
-hexsz sha1:40
-hexsz sha256:64
-
-zero sha1:0000000000000000000000000000000000000000
-zero sha256:0000000000000000000000000000000000000000000000000000000000000000
-
-algo sha1:sha1
-algo sha256:sha256
-
-empty_blob sha1:e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
-empty_blob sha256:473a0f4c3be8a93681a267e3b1e9a7dcda1185436fe141f7749120a303721813
-
-empty_tree sha1:4b825dc642cb6eb9a060e54bf8d69288fbee4904
-empty_tree sha256:6ef19b41225c5369f1c104d45d8d85efa9b057b53b14b4b9b939dd74decc5321
diff --git a/third_party/git/t/oid-info/oid b/third_party/git/t/oid-info/oid
deleted file mode 100644
index a754970523ce..000000000000
--- a/third_party/git/t/oid-info/oid
+++ /dev/null
@@ -1,29 +0,0 @@
-# These are some common invalid and partial object IDs used in tests.
-001	sha1:0000000000000000000000000000000000000001
-001	sha256:0000000000000000000000000000000000000000000000000000000000000001
-002	sha1:0000000000000000000000000000000000000002
-002	sha256:0000000000000000000000000000000000000000000000000000000000000002
-003	sha1:0000000000000000000000000000000000000003
-003	sha256:0000000000000000000000000000000000000000000000000000000000000003
-004	sha1:0000000000000000000000000000000000000004
-004	sha256:0000000000000000000000000000000000000000000000000000000000000004
-005	sha1:0000000000000000000000000000000000000005
-005	sha256:0000000000000000000000000000000000000000000000000000000000000005
-006	sha1:0000000000000000000000000000000000000006
-006	sha256:0000000000000000000000000000000000000000000000000000000000000006
-007	sha1:0000000000000000000000000000000000000007
-007	sha256:0000000000000000000000000000000000000000000000000000000000000007
-# All zeros or Fs missing one or two hex segments.
-zero_1		sha1:000000000000000000000000000000000000000
-zero_1		sha256:000000000000000000000000000000000000000000000000000000000000000
-zero_2		sha1:00000000000000000000000000000000000000
-zero_2		sha256:00000000000000000000000000000000000000000000000000000000000000
-ff_1		sha1:fffffffffffffffffffffffffffffffffffffff
-ff_1		sha256:fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
-ff_2		sha1:ffffffffffffffffffffffffffffffffffffff
-ff_2		sha256:ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
-# More various invalid OIDs.
-numeric		sha1:0123456789012345678901234567890123456789
-numeric		sha256:0123456789012345678901234567890123456789012345678901234567890123
-deadbeef	sha1:deadbeefdeadbeefdeadbeefdeadbeefdeadbeef
-deadbeef	sha256:deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef