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.