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

Re: [PATCH] (experimental) per-topic shortlog.

From
Jeff King <peff@peff.net>
Date
Dec 1, 2006, 11:23 UTC
Message-ID
<20061201112302.GA1910@coredump.intra.peff.net>
In-Reply-To
<7vlklranrt.fsf@assigned-by-dhcp.cox.net>
On Fri, Dec 01, 2006 at 02:55:34AM -0800, Junio C Hamano wrote:
> [PATCH] git-blame: mark lines blamed on boundary commits.

Excellent. This is exactly what I had in mind, and it seems to produce sensible results out of the box:

git-diff --raw -r --diff-filter=AM $1 | cut -f2 |
  while read f; do
    git-blame -l $1 -- $f | grep -v ^- | cut -d' ' -f1
  done |
  sort | uniq -c | sort -rn |
  while read count hash; do
    echo "$count `git-rev-list --max-count=1 --pretty=oneline $hash`"
  done
Thanks!
Previous: Junio C Hamano
Message 18 of 18 in “(experimental) per-topic shortlog.”
  1. (experimental) per-topic shortlog.Junio C Hamano, Nov 27, 2006
  2. Linus TorvaldsNov 27, 2006
  3. Junio C HamanoNov 27, 2006
  4. Linus TorvaldsNov 27, 2006
  5. Junio C HamanoNov 27, 2006
  6. Linus TorvaldsNov 27, 2006
  7. Junio C HamanoNov 27, 2006
  8. Linus TorvaldsNov 27, 2006
  9. Johannes SchindelinNov 27, 2006
  10. Junio C HamanoNov 28, 2006
  11. Jeff KingNov 28, 2006
  12. Johannes SchindelinNov 28, 2006
  13. Jeff KingNov 28, 2006
  14. Junio C HamanoNov 29, 2006
  15. Jeff KingDec 1, 2006
  16. Junio C HamanoDec 1, 2006
  17. Junio C HamanoDec 1, 2006
  18. Jeff KingDec 1, 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.