-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Show untracked files in stash #832
Comments
Do you know of a flag that can be passed to the git command on the command line that would enable this behaviour? |
yes. |
if you only want to have the filename: |
As of recently (Git 2.32, released on May 2021), a It also mentions that you can specify this flag by default with the git config --global stash.showIncludeUntracked true
EDIT (again): Enabling debug mode eventually pointed me to this line which is used to retrieve the files changed:
|
I would also like to be able to see untracked files in stash window. Especially if you have a feature to stash untracked files, they otherwise become invisible. |
@veremenko-y does it not show up even with |
Nope...
|
Is your feature request related to a problem? Please describe.
Sometimes I stash a bunch of untracked files, to get them out of the way. When viewing such a stash in lazygit, I unfortunately can't see, if there are untracked ones and what they contain.
Describe the solution you'd like
If I click on a stash, it could change to a view of indexed and untracked files, like I can do on commits.
Describe alternatives you've considered
An alternative would be to just display the diff in the Stash view on the right.
The text was updated successfully, but these errors were encountered: