@@ -101,14 +101,14 @@ func TestCommitsParents(t *testing.T) {
101
101
}{
102
102
{
103
103
name : "test commits parents 1" ,
104
- hash : "e8d3ffab552895c19b9fcf7aa264d277cde33881 " ,
104
+ hash : "6ecf0ef2c2dffb796033e5a02219af86ec6584e5 " ,
105
105
parents : []string {
106
106
"918c48b83bd081e863dbe1b80f8998f058cd8294" ,
107
107
},
108
108
},
109
109
{
110
110
name : "test commits parents 2" ,
111
- hash : "6ecf0ef2c2dffb796033e5a02219af86ec6584e5 " ,
111
+ hash : "e8d3ffab552895c19b9fcf7aa264d277cde33881 " ,
112
112
parents : []string {
113
113
"918c48b83bd081e863dbe1b80f8998f058cd8294" ,
114
114
},
@@ -137,30 +137,30 @@ func TestCommitsParents(t *testing.T) {
137
137
},
138
138
{
139
139
name : "test commits parents 6" ,
140
- hash : "a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69 " ,
140
+ hash : "35e85108805c84807bc66a02d91535e1e24b38b9 " ,
141
141
parents : []string {
142
142
"b029517f6300c2da0f4b651b8642506cd6aaf45d" ,
143
- "b8e471f58bcbca63b07bda20e428190409c2db47" ,
144
143
},
145
144
},
146
145
{
147
- name : "test commits parents 7" ,
148
- hash : "b8e471f58bcbca63b07bda20e428190409c2db47" ,
149
- parents : []string {
150
- "b029517f6300c2da0f4b651b8642506cd6aaf45d" ,
151
- },
146
+ name : "test commits parents 7" ,
147
+ hash : "b029517f6300c2da0f4b651b8642506cd6aaf45d" ,
148
+ parents : []string {},
152
149
},
153
150
{
154
151
name : "test commits parents 8" ,
155
- hash : "35e85108805c84807bc66a02d91535e1e24b38b9 " ,
152
+ hash : "a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69 " ,
156
153
parents : []string {
157
154
"b029517f6300c2da0f4b651b8642506cd6aaf45d" ,
155
+ "b8e471f58bcbca63b07bda20e428190409c2db47" ,
158
156
},
159
157
},
160
158
{
161
- name : "test commits parents 9" ,
162
- hash : "b029517f6300c2da0f4b651b8642506cd6aaf45d" ,
163
- parents : []string {},
159
+ name : "test commits parents 9" ,
160
+ hash : "b8e471f58bcbca63b07bda20e428190409c2db47" ,
161
+ parents : []string {
162
+ "b029517f6300c2da0f4b651b8642506cd6aaf45d" ,
163
+ },
164
164
},
165
165
}
166
166
@@ -188,65 +188,65 @@ func TestCommitsIndexKeyValueIter(t *testing.T) {
188
188
assertEncodeKey (t , & packOffsetIndexKey {
189
189
Repository : path ,
190
190
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
191
- Offset : 682 ,
191
+ Offset : 186 ,
192
192
}),
193
193
[]interface {}{
194
- "1669dce138d9b841a518c64b10914d88f5e488ea " ,
194
+ "6ecf0ef2c2dffb796033e5a02219af86ec6584e5 " ,
195
195
196
196
},
197
197
},
198
198
{
199
199
assertEncodeKey (t , & packOffsetIndexKey {
200
200
Repository : path ,
201
201
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
202
- Offset : 1292 ,
202
+ Offset : 12 ,
203
203
}),
204
204
[]interface {}{
205
- "35e85108805c84807bc66a02d91535e1e24b38b9 " ,
205
+ "e8d3ffab552895c19b9fcf7aa264d277cde33881 " ,
206
206
207
207
},
208
208
},
209
209
{
210
210
assertEncodeKey (t , & packOffsetIndexKey {
211
211
Repository : path ,
212
212
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
213
- Offset : 186 ,
213
+ Offset : 353 ,
214
214
}),
215
215
[]interface {}{
216
- "6ecf0ef2c2dffb796033e5a02219af86ec6584e5 " ,
216
+ "918c48b83bd081e863dbe1b80f8998f058cd8294 " ,
217
217
218
218
},
219
219
},
220
220
{
221
221
assertEncodeKey (t , & packOffsetIndexKey {
222
222
Repository : path ,
223
223
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
224
- Offset : 353 ,
224
+ Offset : 516 ,
225
225
}),
226
226
[]interface {}{
227
- "918c48b83bd081e863dbe1b80f8998f058cd8294 " ,
227
+ "af2d6a6954d532f8ffb47615169c8fdf9d383a1a " ,
228
228
229
229
},
230
230
},
231
231
{
232
232
assertEncodeKey (t , & packOffsetIndexKey {
233
233
Repository : path ,
234
234
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
235
- Offset : 905 ,
235
+ Offset : 682 ,
236
236
}),
237
237
[]interface {}{
238
- "a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69 " ,
238
+ "1669dce138d9b841a518c64b10914d88f5e488ea " ,
239
239
240
240
},
241
241
},
242
242
{
243
243
assertEncodeKey (t , & packOffsetIndexKey {
244
244
Repository : path ,
245
245
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
246
- Offset : 516 ,
246
+ Offset : 1292 ,
247
247
}),
248
248
[]interface {}{
249
- "af2d6a6954d532f8ffb47615169c8fdf9d383a1a " ,
249
+ "35e85108805c84807bc66a02d91535e1e24b38b9 " ,
250
250
251
251
},
252
252
},
@@ -265,22 +265,22 @@ func TestCommitsIndexKeyValueIter(t *testing.T) {
265
265
assertEncodeKey (t , & packOffsetIndexKey {
266
266
Repository : path ,
267
267
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
268
- Offset : 1130 ,
268
+ Offset : 905 ,
269
269
}),
270
270
[]interface {}{
271
- "b8e471f58bcbca63b07bda20e428190409c2db47 " ,
272
-
271
+ "a5b8b09e2f8fcb0bb99d3ccb0958157b40890d69 " ,
272
+
273
273
},
274
274
},
275
275
{
276
276
assertEncodeKey (t , & packOffsetIndexKey {
277
277
Repository : path ,
278
278
Packfile : "323a4b6b5de684f9966953a043bc800154e5dbfa" ,
279
- Offset : 12 ,
279
+ Offset : 1130 ,
280
280
}),
281
281
[]interface {}{
282
- "e8d3ffab552895c19b9fcf7aa264d277cde33881 " ,
283
-
282
+ "b8e471f58bcbca63b07bda20e428190409c2db47 " ,
283
+
284
284
},
285
285
},
286
286
}
0 commit comments