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

[Question]: view commits changing a file and include other file changes as well #486

Closed
Kobu opened this issue Apr 17, 2024 · 1 comment
Closed
Labels
question Further information is requested

Comments

@Kobu
Copy link

Kobu commented Apr 17, 2024

Hello,

often I find myself browsing the history of a file with DiffviewFileHistory %. However my issue with this is that I cannot view other files that were changed in the viewed commit:
image

What i would like to see is exaclty what DiffviewFileHistory provides when running it without any params

image

Is there a way to view the history of one file, while also seeing other files in the tree view that were changed within the commit?

Thanks in advance

@sindrets
Copy link
Owner

Use :h diffview-actions-open_in_diffview to open the full commit under the cursor in a new view. That will show you all the files changed in that commit. This is mapped to <C-M-d> by default.

@sindrets sindrets added the question Further information is requested label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants