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

feature: picker's git_status should show staged as well #747

Closed
1 task done
aweis89 opened this issue Jan 24, 2025 · 0 comments · Fixed by #728
Closed
1 task done

feature: picker's git_status should show staged as well #747

aweis89 opened this issue Jan 24, 2025 · 0 comments · Fixed by #728
Labels
enhancement New feature or request

Comments

@aweis89
Copy link

aweis89 commented Jan 24, 2025

Did you check the docs?

  • I have read all the snacks.nvim docs

Is your feature request related to a problem? Please describe.

When running git_status with Telescope or fzf-lua, the preview shows a git diff from HEAD, so that files latest changes are viewable regardless of whether they are staged or not.
The Snacks git_status on the hand shows an empty preview window once the changes are staged.

Describe the solution you'd like

Would be great the if the git_diff previewer showed the diff from HEAD instead of just the unstaged diff.

Describe alternatives you've considered

I didn't see any configurable options for this in the source code.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant