-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazygit does not show diff of untracked stashed files #3931
Comments
I never used the That said, since it is an option in git, maybe not everybody wants it, so it should be configurable. But then, lazygit usually follows the philosophy that if there's a way to configure something in git, we don't make it configureable in lazygit because that would be redundant. And in this case, there is a way to configure it in git, by doing Let me know if you disagree. I guess you could argue that the default in git is a bad one, and we can make lazygit have a better default. However, you could say the same thing about the Tagging @jesseduffield in case he has any thoughts on all this. |
That's a fair point. However, So yes, I'm basically saying that lazygit should have a better default here, considering that it does not have any other effect on the command yet makes our life easier. |
Describe the bug
Untracked stashed files are not shown in the main view.
To Reproduce
Steps to reproduce the behavior:
git stash --include-untracked
, or use lazygit with shift+S and "Stash all changes including untracked files")Expected behavior
The untracked stashed file diff is shown in the main view in lazygit.
Screenshots
As it is now: the untracked stashed file is not shown in lazygit.
As it should be: the untracked stashed file diff is shown in lazygit. I will open a PR that fixes this as shown in the screenshot.
Version info:
Lazygit:
commit=, build date=, build source=unknown, version=unversioned, os=linux, arch=amd64, git version=2.45.2
Git:
git version 2.45.2
The text was updated successfully, but these errors were encountered: