Skip to content

error: Server does not allow request for unadvertised object #4

@thejoshwolfe

Description

@thejoshwolfe

Steps to reproduce:

git-vendor add --dir vendor/ffmpeg --url https://git.ffmpeg.org/ffmpeg.git --pin-to-commit 7bc6dab675124289a5772974c7cfa38845c7a27a

Gives this error:

error: Server does not allow request for unadvertised object 7bc6dab675124289a5772974c7cfa38845c7a27a

The problem is that https://git.ffmpeg.org/ffmpeg.git (as of posting this) does not support the allow-tip-sha1-in-want capability. This is possibly an issue where that server is running an outdated version of the git server technology, or perhaps this is an intentional decision by the server maintainers. In any case, this issue is to track progress on dealing with this problem.

This only affects --pin-to-commit style vendoring, and only when the remote does not support a specific git feature. (Note that GitHub does support the capability, so this is not a problem for GitHub urls.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions