Teach git-blame about renames (take 2)
Get series with b4
b4 am 20060310092135.24015.26510.stgit@c165Versions newest first
- v1 Latest3 patches 1 replyIn review
Changes since the previous version from the cover letter
* Fix the things pointed out by Junio.
* Some other minor clean-ups
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Make it possible to not clobber object.util in sort_in_topological_order (take 2)commit.c commit.h | +39 | 0 replies | |
| 2/3 | rev-lib: Make it easy to do rename tracking (take 2)rev-list.c revision.c revision.h | +76 | 0 replies | |
| 3/3 | blame: Rename detection (take 2)blame.c | +199 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Teach git-blame about renames (take 2)
Changes since the previous version:
* Fix the things pointed out by Junio.
* Some other minor clean-ups
---
This patch series teaches git-blame about renames. To do this I have changed the revision.h interface a bit. In particular, it is now possible for the user of revision.h to specify a try_to_simply_commit-like function. That function can then do the rename tracking.
I have also made a small change to sort_in_topological_order to make it possible to use the object.util field at the same time as a topological sort is done. Previously the object.util field was clobbered by the topological sort. In the new interface the auxiliary data that the topological sort needs to store for each commit object is stored with a setter function and retrieved by a getter. Pointers to those functions are passed to sort_in_topological_order_fn.
- Fredrik