Skip to content

Fix handling of merges in git-annotate

Ryan Anderson git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2annotate: Support annotation of files on other revisions.t/t8001-annotate.sh+6 -02 replies
2/2annotate: Correct most merge following to annotate correctly.git-annotate.perl+139 -580 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix handling of merges in git-annotate

This 2-patch series is a major overhaul to the way git-annotate calculates the blame for each line.

Instead of parsing each diff in reverse, this uses the output from "git diff-tree --combined", so that merges can be handled sanely.

Ryan Anderson:
annotate: Support annotation of files on other revisions.
annotate: Correct most merge following to annotate correctly.

 git-annotate.perl   |  197 ++++++++++++++++++++++++++++++++++++---------------
 t/t8001-annotate.sh |    6 ++
 2 files changed, 145 insertions(+), 58 deletions(-)