Merging pull requests not working with tracked LFS files #10579

Closed
opened 2025-11-02 09:11:48 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Shakthijuego on GitHub (Apr 1, 2023).

Description

Branches can be merged by local clients(git cli/Github for Windows) with push but not with web interface.

gitea.log have errors like this:
Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: ""
Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: ""
Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: ""
Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: ""
Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: ""
Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: error: failed to push some refs to....
...
Somebody else too getting the error. Mentioned here. https://discourse.gitea.io/t/merging-pull-requests-not-working-with-tracked-lfs-files/435/1

Gitea Version

gitea-1.19.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Screenshot 2023-04-01 at 10 53 55 AM

Git Version

No response

Operating System

ubuntu

How are you running Gitea?

Native build on ubuntu, running using systemctl

Database

SQLite

Originally created by @Shakthijuego on GitHub (Apr 1, 2023). ### Description Branches can be merged by local clients(git cli/Github for Windows) with push but not with web interface. gitea.log have errors like this: Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: "" Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: "" Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: "" Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: "" Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: batch request: missing protocol: "" Apr 01 05:01:02 ip-172-31-41-184 gitea[3613493]: error: failed to push some refs to.... ... Somebody else too getting the error. Mentioned here. https://discourse.gitea.io/t/merging-pull-requests-not-working-with-tracked-lfs-files/435/1 ### Gitea Version gitea-1.19.0 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots <img width="842" alt="Screenshot 2023-04-01 at 10 53 55 AM" src="https://user-images.githubusercontent.com/25612450/229267221-f5a9fc56-3bad-47a5-8af8-0935dc1f2b62.png"> ### Git Version _No response_ ### Operating System ubuntu ### How are you running Gitea? Native build on ubuntu, running using systemctl ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 09:11:48 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Apr 5, 2023):

I am using LFS too, haven't encountered the problem.

Could you help to provide more clues, or provide a minimal reproducible setup (eg: docker)?

My Gitea's screenshot:

image
@wxiaoguang commented on GitHub (Apr 5, 2023): I am using LFS too, haven't encountered the problem. Could you help to provide more clues, or provide a minimal reproducible setup (eg: docker)? My Gitea's screenshot: <details> <img width="902" alt="image" src="https://user-images.githubusercontent.com/2114189/230045195-94a2c793-4f3e-472e-b9a2-5db1bb3e3172.png"> </details>
Author
Owner

@wxiaoguang commented on GitHub (Jul 9, 2023):

Feel free to re-open if you can provide reproducible steps.

@wxiaoguang commented on GitHub (Jul 9, 2023): Feel free to re-open if you can provide reproducible steps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10579