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

batdiff: doesn't really support staged diffs. #91

Open
infinityat0 opened this issue Apr 24, 2023 · 1 comment
Open

batdiff: doesn't really support staged diffs. #91

infinityat0 opened this issue Apr 24, 2023 · 1 comment
Labels
batdiff Related to the batdiff script. enhancement New feature or request

Comments

@infinityat0
Copy link

batdiff only shows diffs that are not staged on git. Would be nice to have an option to check out staged diffs as well.

@infinityat0 infinityat0 changed the title batdiff doesn't really support staged diffs. batdiff: doesn't really support staged diffs. Apr 24, 2023
@eth-p eth-p added enhancement New feature or request batdiff Related to the batdiff script. labels May 16, 2023
@eth-p
Copy link
Owner

eth-p commented May 16, 2023

Added in 7aa73f8.

I really recommend that you install delta if you plan on using it, though. Bat can't natively display diffs from staged files, which means batdiff has to display them as patch files. And that's not exactly pretty, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batdiff Related to the batdiff script. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants