pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/libgit2/libgit2/pull/7123

/assets/global-0bd78641c0a1f3e0.css" /> fix: `git_remote_download` assumes oid capability by DanConwayDev · Pull Request #7123 · libgit2/libgit2 · GitHub
Skip to content

fix: git_remote_download assumes oid capability#7123

Open
DanConwayDev wants to merge 1 commit intolibgit2:mainfrom
DanConwayDev:download-assume-serve-oid
Open

fix: git_remote_download assumes oid capability#7123
DanConwayDev wants to merge 1 commit intolibgit2:mainfrom
DanConwayDev:download-assume-serve-oid

Conversation

@DanConwayDev
Copy link
Copy Markdown

Stop throwing error when requesting oids from a git server that doesn't explicitly advertise that capability.

The overwhelming majority of git servers will serve this request even when they don't advertise this capability, e.g. git-http-backend.

For many years, the git reference implementation has assumed servers have this capability even when allow-tip-sha1-in-want or allow-reachable-sha1-in-want isnt included in
git-upload-pack-advertisement, e.g. with git fetch <remote> <oid>.

closes #7078

Stop throwing error when requesting oids from a git server that
doesn't explicitly advertise that capability.

The overwhelming majority of git servers will serve this request
even when they don't advertise this capability, e.g. git-http-backend.

For many years, the git reference implementation has assumed
servers have this capability even when `allow-tip-sha1-in-want` or
`allow-reachable-sha1-in-want` isnt included in
`git-upload-pack-advertisement`, e.g. with `git fetch <remote> <oid>`.

closes libgit2#7078
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.

bug: git_remote_download returns invalid if allow-tip-sha1-in-want not advertised

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy