Commit 58a11b3
authored
Allow oldPaper fetching from reachable sha1 (#287)
* Allow oldPaper fetching from reachable sha1
Git servers by default do not offer the capability to reach available
sha1 hashes during a fetch request. Setting up the old paper repository
hence only worked if the requested sha1 is the HEAD of a locally fetched
branch.
The commit temporarily enables the allowreachablesha1inwant git option
for the local paper repository, enabling the single depth fetch of any
reachable sha1 for the oldPaper git repo.
* Revert config to previous value1 parent 77eaa19 commit 58a11b3
File tree
1 file changed
+24
-2
lines changed- paperweight-core/src/main/kotlin/io/papermc/paperweight/core/tasks
1 file changed
+24
-2
lines changedLines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
221 | 243 | | |
222 | 244 | | |
223 | 245 | | |
| |||
0 commit comments