# Merging pull requests not working with tracked LFS files

**URL:** <https://forum.gitea.com/t/merging-pull-requests-not-working-with-tracked-lfs-files/435>\
**Category:** Gitea Usages\
**Created:** [July 17, 2018, 8:31pm UTC](https://forum.gitea.com/t/merging-pull-requests-not-working-with-tracked-lfs-files/435 "2018-07-17T20:31:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![severgun](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@severgun](https://forum.gitea.com/u/severgun)\
**Post date:** [July 17, 2018, 8:31pm UTC](https://forum.gitea.com/t/merging-pull-requests-not-working-with-tracked-lfs-files/435/1 "2018-07-17T20:31:17Z")

</div>

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:

> ```
> 2018/07/17 23:07:35 [...routers/repo/pull.go:533 MergePullRequest()] [E] Merge: git clone: Cloning into '/var/lib/gitea/data/tmp/local-repo/merge-192609140.git'...
> done.
> Downloading file.bin (11 KB)
> Error downloading object: file.bin (08afa7b): Smudge error: Error downloading file.bin (08afa7bbdbb8224c12d26dad8bb3641a8c0eacd032c47bba0f91275e0d892fef): batch request: missing protocol: "/home/git/gitea-repositories/liquid/test.git/info/lfs"
> 
> Errors logged to /var/lib/gitea/data/tmp/local-repo/merge-192609140.git/.git/lfs/objects/logs/20180717T230735.214492563.log
> 
> ```

---

<div class="post-metadata">

**Author:** ![Shakthijuego](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/shakthijuego/32/5231_2.png) [@Shakthijuego](https://forum.gitea.com/u/Shakthijuego)\
**Post date:** [April 1, 2023, 5:29am UTC](https://forum.gitea.com/t/merging-pull-requests-not-working-with-tracked-lfs-files/435/2 "2023-04-01T05:29:45Z")

</div>

I tool getting this error. Opened a issue here

> <https://github.com/go-gitea/gitea/issues/23860>
>
> \### Description
> 
> Branches can be merged by local clients(git cli/Github for Wi…ndows) 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://forum.gitea.com/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

---

<div class="post-metadata">

**Author:** ![wxiaoguang](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/wxiaoguang/32/2280_2.png) [@wxiaoguang](https://forum.gitea.com/u/wxiaoguang)\
**Post date:** [April 5, 2023, 9:46am UTC](https://forum.gitea.com/t/merging-pull-requests-not-working-with-tracked-lfs-files/435/3 "2023-04-05T09:46:03Z")

</div>

> [@severgun](#):
>
> `Errors logged to /var/lib/gitea/data/tmp/local-repo/merge-192609140.git/.git/lfs/objects/logs/20180717T230735.214492563.log`

What does the lfs log say?

ps: I am using LFS too, haven’t encounter the problem, I also left a comment in that GitHub’s issue.
