Commit 77257e3
t6500: extract objects with "17" prefix
The ".git/obects/17/" shard is somewhat special because it is used by
git-gc(1) to estimate how many objects there are by extrapolating the
number of objects in that shard, only. In t6500 we thus have a hard
coded set of data that, when written to the object database, result in
blobs starting with that prefix.
We are about to need such "17"-prefixed objects in another test suite.
Extract them into "t/oid-info/hash-info" so that they can be reused by
other tests.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 0e05d53 commit 77257e3
2 files changed
Lines changed: 19 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 14 | + | |
31 | 15 | | |
32 | 16 | | |
33 | 17 | | |
| |||
114 | 98 | | |
115 | 99 | | |
116 | 100 | | |
117 | | - | |
118 | | - | |
| 101 | + | |
| 102 | + | |
119 | 103 | | |
120 | 104 | | |
121 | 105 | | |
| |||
146 | 130 | | |
147 | 131 | | |
148 | 132 | | |
149 | | - | |
150 | | - | |
| 133 | + | |
| 134 | + | |
151 | 135 | | |
152 | 136 | | |
153 | 137 | | |
154 | | - | |
155 | | - | |
| 138 | + | |
| 139 | + | |
156 | 140 | | |
157 | 141 | | |
158 | 142 | | |
| |||
0 commit comments