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 git merge-base and git log between 2 selected commits in the graph #40

Open
weintraubt opened this issue Feb 11, 2025 · 4 comments
Assignees

Comments

@weintraubt
Copy link

Display merge-base between 2 commits

In our company we use a lot of branches and that would be fantastic to have an option to display the git merge-base result between 2 commits selected in the graph.

Display git log between 2 commits

Similarly, that would great to have an option to execute git log between 2 commits selected in the graph.

@weintraubt weintraubt changed the title Display git merge-base and git log between 2 selected commit in the graph Display git merge-base and git log between 2 selected commits in the graph Feb 12, 2025
@hansu
Copy link
Owner

hansu commented Feb 12, 2025

Display merge-base between 2 commits

In our company we use a lot of branches and that would be fantastic to have an option to display the git merge-base result between 2 commits selected in the graph.

I agree some time this could be useful

Display git log between 2 commits

Similarly, that would great to have an option to execute git log between 2 commits selected in the graph.

Why not Control-click on two commits?

@weintraubt
Copy link
Author

Display merge-base between 2 commits
In our company we use a lot of branches and that would be fantastic to have an option to display the git merge-base result between 2 commits selected in the graph.

I agree some time this could be useful

Display git log between 2 commits
Similarly, that would great to have an option to execute git log between 2 commits selected in the graph.

Why not Control-click on two commits?

Yes, we use this to understand the changes between 2 commits but here I was thinking about getting the list of commit descriptions. To illustrate, this is the command we execute today to get that list git log --pretty=oneline commitA commitB. Like there is an option to "Copy Commit Subject to Clipboard", I was thinking would it be a good idea to have a similar concept to copy to clipboard the list of Subjects when 2 commits are selected. It helps understanding where the changes are coming from.

@hansu
Copy link
Owner

hansu commented Feb 14, 2025

I was thinking would it be a good idea to have a similar concept to copy to clipboard the list of Subjects when 2 commits are selected.

So only for copying the commit messages in between? I think this is a quite rare use case. Lets see what other users say.

@weintraubt
Copy link
Author

weintraubt commented Feb 15, 2025

I was thinking would it be a good idea to have a similar concept to copy to clipboard the list of Subjects when 2 commits are selected.

So only for copying the commit messages in between? I think this is a quite rare use case. Lets see what other users say.

That's right and I agree I miss it less than git merge-base mentioned above.

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