Skip to content
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

Add --include-untracked flag to stash show command #3932

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Golim
Copy link

@Golim Golim commented Sep 21, 2024

  • PR Description

This PR fixes #3931 by adding --include-untracked to git stash show command. Untracked stashed file diff is now shown in the main view.

before this PR
Before: the untracked stashed file is not shown in lazygit.

after this PR
After: the untracked stashed file diff is shown in lazygit.

One Issue

This PR does not fix the fact that untracked stashed files are not shown in the list of files in the "Stash" panel when entering a stash entry, I could not find an easy way to make them appear there.

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lazygit does not show diff of untracked stashed files
1 participant