jesseduffield / lazygit

simple terminal UI for git commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One file not showing in lazygit Files pane

kofm opened this issue · comments

commented

Suddenly in one of my repos one file is always not showing in the Files pane (either tracked or not tracked). git status shows the correct file list. I tried reinstalling and clearing my config with no success. It doesn't happen in other repos

Example:

image
Lazygit:
image
If I discard changes in .gitignore with git checkout -- .gitignore
image
Even if I stage the hidden file, it doesn't show up.
Working on Arch Linux 5.17.4-arch1-1, lazygit commit=v0.34, build date=2022-04-27T13:28:28Z, build source=binaryRelease, version=0.34, os=linux, arch=amd64

Could you try building master to see if it helps? If it's even reproducible now

I had the same issue (one file missing in the TUI) and tracked it down to a warning: refname 'HEAD' is ambiguous. in one of the submodules. Once I git branch -D HEAD from the submodule, the file list returned to normal. The file was not from the submodule.

$ lazygit -v
commit=v0.34, build date=2022-04-27T13:28:28Z, build source=binaryRelease, version=0.34, os=linux, arch=amd64

I think it's the same issue as #1788, the errors/warnings aren't ignored and that mucks up the file view, at least that's my suspicion, haven't confirmed it yet.

ezoic increase your site revenue