Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow oldPaper fetching from reachable sha1 #287

Merged
merged 2 commits into from
Mar 15, 2025

Conversation

lynxplay
Copy link
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
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