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

Display diff in a preview pane upon selecting it #24

Open
joewiz opened this issue Aug 22, 2017 · 0 comments
Open

Display diff in a preview pane upon selecting it #24

joewiz opened this issue Aug 22, 2017 · 0 comments

Comments

@joewiz
Copy link

joewiz commented Aug 22, 2017

Another suggestion borrowed from Git GUI clients such as GitHub Desktop and Tower:

Current behavior

To view a diff, the user must double-click on a changed file in the Working Copy view, which opens a new window with the diff. Then the user must close or move this window before being able to return to the main window

Proposal

Upon selecting (with a single click) a changed file in the Working Copy view, a preview of the diff should appear in a pane. This would allow a user to quickly preview the changes in a file before deciding whether to stage it.

A future enhancement would be to select lines within a diff to stage.

Here is screenshot taken from GitHub Desktop showing how selecting a changed file displays a preview of the diff:

screen shot 2017-08-22 at 11 29 21 am

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

No branches or pull requests

2 participants