Skip to content

diffpatch api doesn't accept patch for multiple files #35602

@surya-purohit

Description

@surya-purohit

Description

The web UI which internally calls _diffpatch API works as expected and can take multiple file patches at once but the exposed API requires SHA, when we normally talk abou the patch, it is not necessary to only update one file at a time, we can do multiple as we can do in the web API.

Gitea Version

1.24.6

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

M4 Pro

How are you running Gitea?

I'm using the docker image

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions