git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] Teach git-blame about renames (take 2)

From
Fredrik Kuivinen <freku045@student.liu.se>
Date
Mar 10, 2006, 09:21 UTC
Message-ID
<20060310092135.24015.26510.stgit@c165>
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
Next: Fredrik Kuivinen
Message 1 of 5 in “Teach git-blame about renames (take 2)”
  1. 0/3 Teach git-blame about renames (take 2)Fredrik Kuivinen, Mar 10, 2006
  2. 1/3 Make it possible to not clobber object.util in sort_in_topological_order (take 2)Fredrik Kuivinen, Mar 10, 2006
  3. 2/3 rev-lib: Make it easy to do rename tracking (take 2)Fredrik Kuivinen, Mar 10, 2006
  4. 3/3 blame: Rename detection (take 2)Fredrik Kuivinen, Mar 10, 2006
  5. Junio C HamanoMar 16, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.