-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
How to not show full diff when using Gclog -L
to track changes in a function
#2325
Comments
Gclog -L
to track changes in a functionGclog -L
to track changes in a function
Same question for |
@kaddkaka |
I did not, I guess the fastest answer might be to study fugitive source code |
Thank you. But I’m not familiar with Vimscript. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git log -L:function_name:file_name
is really nice to see changes to a function. The default behavior is to only show the part of the commit that actually touches that function (as opposed to--full-diff
, which doesn't even seem to work together with-L
in git version 2.35.1)Gclog -L:function_name:file_name
works great and it's nice to get 2 entries for each commitFor entries of type 1., is it possible to reduce the content of that buffer to only show the changes in the tracked function? (just as
git log -L
from the command line does)The text was updated successfully, but these errors were encountered: