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

Inline staging? #1521

Open
wmertens opened this issue May 19, 2022 · 0 comments
Open

Inline staging? #1521

wmertens opened this issue May 19, 2022 · 0 comments

Comments

@wmertens
Copy link
Contributor

wmertens commented May 19, 2022

Right now, the status area has checkboxes to indicate what will be committed, and no indication of what is staged.

How about adding a staging mode, where clicking the checkbox actually stages the file, and then the file gets some indication like color or font to show it's staged.

So it would look almost exactly the same, except that when a file has staged and unstaged parts, you'd see it twice, once with and once without the staging indication.

The main reason I'd like this is to make the patching more intuitive. You'd select a range of lines, there'd be a stage button, and then when you click it the display switches to staging mode and only those lines get staged.

Advantage of that is that selecting + a button is way faster than clicking checkboxes.

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

No branches or pull requests

1 participant