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

Re: Unexpected behavior in git-rev-list

From
Junio C Hamano <junkio@cox.net>
Date
Sep 21, 2005, 18:34 UTC
Message-ID
<7vfyryw9ra.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.58.0509211022180.2553@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 9 quoted lines
> It might be best not being done by git-rev-list, but by a specialized 
> program. However, the advantage of doing it in git-rev-list is that then 
> things like "git log" and "gitk" would automatically take advantage of it, 
> ie you could say
>
> 	gitk v2.6.12.. drivers/char/
>
> and it would show a "cut-down" revision tree that only contained the stuff 
> that changed anything in drivers/char/.

Wouldn't gitk get confused by the sparse set of commits your rev-list feeds it, when it tries to draw ancestry lines and find many commits missing in between them?

Ah, you told him to use 'rev-list --parents' and you can rewrite the list of parents there -- clever.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 6 of 9 in “Unexpected behavior in git-rev-list”
  1. Peter EriksenSep 18, 2005
  2. Linus TorvaldsSep 18, 2005
  3. Peter EriksenSep 18, 2005
  4. Peter EriksenSep 21, 2005
  5. Linus TorvaldsSep 21, 2005
  6. Junio C HamanoSep 21, 2005
  7. Linus TorvaldsSep 21, 2005
  8. Daniel BarkalowSep 22, 2005
  9. Linus TorvaldsSep 22, 2005

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.