Skip to content

Allow oldPaper fetching from reachable sha1#287

Merged
MiniDigger merged 2 commits intomainfrom
bugfix/allow-fetching-sha1-from-paper-upstream
Mar 15, 2025
Merged

Allow oldPaper fetching from reachable sha1#287
MiniDigger merged 2 commits intomainfrom
bugfix/allow-fetching-sha1-from-paper-upstream

Conversation

@lynxplay
Copy link
Copy Markdown
Contributor

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.

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.
Copy link
Copy Markdown
Member

@MiniDigger MiniDigger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirmed working on windows

@MiniDigger MiniDigger merged commit 58a11b3 into main Mar 15, 2025
3 checks passed
@MiniDigger MiniDigger deleted the bugfix/allow-fetching-sha1-from-paper-upstream branch March 15, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants