]> git.ipfire.org Git - thirdparty/git.git/blame - t/oid-info/README
Merge branch 'jk/rev-list-disk-usage'
[thirdparty/git.git] / t / oid-info / README
CommitLineData
2c02b110 1This directory contains various per-hash values that are used in the testsuite.
2
3Each file contains lines containing a key-value pair; blank lines and lines
4starting with `#` are ignored. The key and value are separated by whitespace
5(specifically, those whitespace in the default `$IFS`). The key consists only
6of shell identifier characters, and the value consists of a hash algorithm,
7colon, and value. The hash algorithm also consists only of shell identifier
e5afd444 8characters; it should match the value in object-file.c.
2c02b110 9
10For example, the following lines map the key "rawsz" to "20" if SHA-1 is in use
11and to "32" if SHA-256 is in use:
12
13----
14rawsz sha1:20
15rawsz sha256:32
16----
17
18The keys and values used here are loaded by `test_oid_init` (see the README file
19in the "t" directory) and are used by calling `test_oid`.