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

Viewing graph of single file's changes? #343

Closed
nyanpasu64 opened this issue Jul 9, 2020 · 1 comment
Closed

Viewing graph of single file's changes? #343

nyanpasu64 opened this issue Jul 9, 2020 · 1 comment
Assignees
Labels
feature request Feature request

Comments

@nyanpasu64
Copy link

Describe the feature that you'd like
You can run git log --graph -- path/to/file to view the history of a single file. Is it possible to perform this in VSCode Git Graph?

Additional context (optional)
This feature is already implemented in some Git graph viewers. I took some screenshots of a file which I modified in several non-adjacent commits.

Git Cola DAG is weird. By default, it doesn't connect commits. If you type --all, it connects direct parent-child commits.

git dag single file

git log --graph (with/without --all) connects all nodes, regardless of whether they're direct parent-child or not.

git log single file

tig connects all nodes, regardless of whether they're direct parent-child or not. But you can't see any vertical lines except in the presence of merges or splits. I don't know if merge commits are shown if they edit path/to/file or not.

tig single file

@nyanpasu64 nyanpasu64 added the feature request Feature request label Jul 9, 2020
@mhutchie
Copy link
Owner

mhutchie commented Jul 9, 2020

Hi @nyanpasu64, Thanks for raising this feature request, and providing the detailed examples of how this is implemented in other tools.

This functionality is already within the scope of what I intend to deliver in the existing feature request #70, so I’ll close this one. Please follow #70 to keep up to date on the progress and delivery of it.

@mhutchie mhutchie closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants