Skip to content

Is there a way to do git blame --reverse? #1397

Answered by Byron
nasifimtiazohi asked this question in Q&A
Discussion options

You must be logged in to vote

I think with the current implementation it's not possible as it will always pass commit as argument. Ideally, one would be able to do something like repo.blame(filepath, reverse='<start>..<end>').
That would probably be fine for the parser, but it would need some refactoring to expose it in the public API.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cneberg
Comment options

@Byron
Comment options

Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1396 on January 11, 2022 01:45.