on-internet
← Community

Git - how do I view the change history of a method/function?

Stack Overflow ·

So I found the question about how to view the change history of a file, but the change history of this particular file is huge and I'm really only interested in the changes of a particular method. So would it be possible to see the change history for just that particular method? I know this would require git to analyze the code and that the analysis would be different for different languages, but method/function declarations look very similar in most languages, so I thought maybe someone has implemented this feature. The language I'm currently working with is Objective-C and the SCM I'm curren

Comments

Sign in or sign up to comment and upvote.

No comments yet.