Skip to content

[Bug]: corrupted loose file reference: FETCH_HEAD #441

@Wouter-M

Description

@Wouter-M

Description

I keep running into this issue where the following error occurs and I get an error at every sync:

Image

I do not have a consistent steps to reproduce the issue. I do have a consistent solution though: If I go into the .git folder and remove the FETCH_HEAD.lock file, then I can sync again.
The auto-fix button does not work.

Frequency of the issue re-occurring seems to be every couple of days.

Minimal Reproduction

I don't have exact steps (yet) on how to reproduce it.
I guess manually recreating the FETCH_HEAD.lock file would cause the same error, but what causes that file to be there is not clear to me as of now.

Exception or Error

The exception is in the screenshot. I tried to file the bug report using the bug report feature in the app, but it asked me to provide access to all my github repo's, and my client's policies do not allow me to do that.

App version: 1.7.87
Android version: 15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions