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

Re: git-rev-list feature request

From
Paul Mackerras <paulus@samba.org>
Date
Mar 10, 2006, 04:50 UTC
Message-ID
<17425.1459.786864.172060@cargo.ozlabs.ibm.com>
In-Reply-To
<Pine.LNX.4.64.0603091950360.18022@g5.osdl.org>
Linus Torvalds writes:
Show 9 quoted lines
> Yeah. I _think_ what you want is
> 
>  - phase 1: generate the current graph that we already do for
> 
> 	git-rev-list --all ^cmit
> 
>  - phase 2: start at "cmit", and mark everything that refers to it as 
>    "show me" (including "cmit" itself, which was originally marked 
>    uninteresting)

I'm not sure if that's what I want. Is that how "git-rev-list -- foo" works?

What I want is basically just what "git-rev-list -- foo" does, but with some extra flexibility in choosing what commits are interesting - that is, to be able to say that a commit is interesting if it affects some file, has a reference under .git/refs, or if it is one of a set of specified commits.

Paul.
Previous: Linus TorvaldsNext: Linus Torvalds
Message 5 of 7 in “git-rev-list feature request”
  1. Paul MackerrasMar 10, 2006
  2. Linus TorvaldsMar 10, 2006
  3. Junio C HamanoMar 10, 2006
  4. Linus TorvaldsMar 10, 2006
  5. Paul MackerrasMar 10, 2006
  6. Linus TorvaldsMar 10, 2006
  7. Linus TorvaldsMar 10, 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.