jesseduffield / jesseduffield/lazygit

Unable to apply/pop stash even though files are not dirty

Open
#973 6 comments 0 reactions 0 assignees View on GitHub
bug usability
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
Sometimes when I try to apply or pop a stash, I get this error:

![image](https://user-images.githubusercontent.com/921609/91193149-af8bc880-e6ee-11ea-936d-e3f8dd782c85.png)

This error would make sense if the listed files also had non-commited/dirty changes, but as you can see from the files panel, they do not have any changes.

I am able to run `git stash apply` with no problems.

**To Reproduce**
Steps to reproduce the behavior:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: macOS
- Lazygit Version: latest
- The last commit id if you built project from sources (run : ```git-rev parse HEAD```)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.