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

show history for selection lines #4074

Open
GengCen-Qin opened this issue Nov 25, 2024 · 1 comment
Open

show history for selection lines #4074

GengCen-Qin opened this issue Nov 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@GengCen-Qin
Copy link

Is your feature request related to a problem? Please describe.
I often use the "show history for selection" feature in JetBrains' Git, which allows me to see the specific commit history for certain lines of code. This makes it very convenient for me to know how many times a function has been modified from its inception to its current state, and what changes were made each time. I'm not sure if lazygit has this capability. Thank you very much for providing such a great tool.

Describe the solution you'd like
I see that lazygit allows you to edit text by pressing the 'e' key, or by using to enter a path to a file for filtering. Is it possible to navigate to a specific file, then select a few lines in edit mode, and use a shortcut key to query the commit history for those lines?

Describe alternatives you've considered
image

Additional context

@GengCen-Qin GengCen-Qin added the enhancement New feature or request label Nov 25, 2024
@patroldo
Copy link

Hi. Same to me. I would like to have possiblity to see history for selected line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants