Skip to content

AGit PR creation with LFS objects #34583

Open
@AdamMajer

Description

@AdamMajer

Feature Description

Currently, it's impossible to create PRs with LFS objects if you do not have write access to target repository,

> git push origin HEAD:refs/for/main/foobar
Remote "origin" does not support the Git LFS locking API. Consider disabling it with:
  $ git config lfs.https://demo.gitea.com/gnuman/test.git/info/lfs.locksverify false
batch request: error::   0% (0/1), 0 B | 0 B/s                                                                               
error: User: 1460:adamm2 with Key: 37:t is not authorized to write to gnuman/test.
error:: exit status 1
error: failed to push some refs to 'demo.gitea.com:gnuman/test.git'

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions