1532
you are viewing a single comment's thread
view the rest of the comments
[-] Vlyn@lemmy.zip 2 points 1 year ago

I still haven't found a proper command or tool to do a multi-commit git blame.

Like I want to know who changed the logic in this line. But the last commit was a format refactor. And the commit before that just changed a tiny detail. So now I'm digging through the entire file history just to find the spot where this one line was introduced or actually changed.

If you have any tips for that, I'm all ears.

[-] magic_lobster_party@kbin.social 1 points 1 year ago

I usually use the GUI in IntelliJ for those kind of purposes, but any other GUI might do. Then I perform a manual binary search to find the commit I want.

this post was submitted on 02 Oct 2023
1532 points (98.4% liked)

Programmer Humor

32171 readers
897 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS