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

Add uploadpack.allowAnySHA1InWant to allow --filter=blob:none with older git clients #19430

Merged
merged 2 commits into from
Apr 20, 2022

Conversation

zeripath
Copy link
Contributor

Older git clients need uploadpack.allowAnySHA1InWant if partial cloning is allowed.

Fix #19118

Signed-off-by: Andrew Thornton art27@cantab.net

…der git clients

Older git clients need uploadpack.allowAnySHA1InWant if partial cloning is allowed.

Fix go-gitea#19118

Signed-off-by: Andrew Thornton <art27@cantab.net>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Apr 20, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 20, 2022
@6543
Copy link
Member

6543 commented Apr 20, 2022

🚀

@6543 6543 merged commit a7f0ce6 into go-gitea:main Apr 20, 2022
6543 pushed a commit to 6543-forks/gitea that referenced this pull request Apr 20, 2022
…der git clients (go-gitea#19430)

Older git clients need uploadpack.allowAnySHA1InWant if partial cloning is allowed.

Fix go-gitea#19118

Signed-off-by: Andrew Thornton <art27@cantab.net>
@6543 6543 added the backport/done All backports for this PR have been created label Apr 20, 2022
@6543
Copy link
Member

6543 commented Apr 20, 2022

-> #19438

@zeripath zeripath deleted the fix-19118-add-allowAnySHA1InWant branch April 20, 2022 16:16
6543 added a commit that referenced this pull request Apr 20, 2022
…der git clients (#19430) (#19438)

Older git clients need uploadpack.allowAnySHA1InWant if partial cloning is allowed.

Fix #19118

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Apr 20, 2022
* giteaofficial/main:
  When dumping trim the standard suffices instead of a random suffix (go-gitea#19440)
  Add uploadpack.allowAnySHA1InWant to allow --filter=blob:none with older git clients (go-gitea#19430)
  Don't allow merging PR's which are being conflict checked (go-gitea#19357)
  doc: add brief intro on using traefik as reverse-proxy (go-gitea#19432)
  Fix panic in team repos API (go-gitea#19431)
  When updating mirror repo intervals by API reschedule next update too (go-gitea#19429)
  Fix nil error when some pages are rendered outside request context (go-gitea#19427)
  Add Helm Chart registry (go-gitea#19406)
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this pull request Aug 24, 2022
…der git clients (go-gitea#19430)

Older git clients need uploadpack.allowAnySHA1InWant if partial cloning is allowed.

Fix go-gitea#19118

Signed-off-by: Andrew Thornton <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git clone with --filter=blob:none fails with older git clients
5 participants