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

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

From
Junio C Hamano <junkio@cox.net>
Date
Nov 28, 2006, 00:09 UTC
Message-ID
<7v7ixge8j2.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0611280040480.30004@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 5 quoted lines
> As for reducing the number of lines in the shortlog: taking myself as an 
> example, I often touch the same code several times, just to fix bugs. So, 
> if the same code was touched several times, just take the first oneline, 
> and add "(+fixes)". Of course, this is more like a wedding between 
> shortlog and annotate, and likely to be slow.

Interesting. While driving to work this morning I had the same thought. A revision that does not appear in the output from

	for file in $(list of files the commit touches)
        do
		git blame v2.6.17..v2.6.18 -- $file
	done

can safely be omitted from the shortlog, because later changes fully supersedes it.

I think the list of "important" changes is an interesting problem, but the importance may not directly be related to the number of paths a patch touches (e.g. "you reorder the members of a structure everybody uses in one include file and everything starts performing faster due to better cache behaviour" would be a few lines of a single header file). Also better clues to judge the importance would be found outside the repository. "The patch discussed by many people on the list" and "the patch that had very many iteration to get in the final shape" would certainly be interesting ones, but that information is often not found in the repository.

Previous: Johannes SchindelinNext: Jeff King
Message 10 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.