Commit 6bd5694
committed
Add integration test for "thin pack" reference handling
The `github.com/go-git/go-git/v5@v5.4.2` dependency used by this project to work with the Git repositories of the
libraries is not able to correctly handle specific types of references in Git "thin packs", causing a spurious failure
of the sync process for the affected libraries:
Error fetching repository: reference delta not found
This test is intended to check whether the project is able to correctly handle these libraries. I have simply used the
two libraries from the report as test data. I am not confident they will continue to serve as effective test data
indefinitely, but also don't know how to do the generation of test data that would serve as a reliable replacement for
them, and noticed that those working on the `github.com/go-git/go-git` bug also did not find an easy way to do it.1 parent 4999750 commit 6bd5694
2 files changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments