Re: Unexpected behavior in git-rev-list
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 22, 2005, 21:26 UTC
- Message-ID
- <Pine.LNX.4.58.0509221424390.2553@g5.osdl.org>
- In-Reply-To
- <Pine.LNX.4.63.0509221617300.23242@iabervon.org>
On Thu, 22 Sep 2005, Daniel Barkalow wrote:
Show 8 quoted lines
> > > > It's not entirely trivial. The biggest bummer is that we'd have to fake > > out the parent info (ie the "parent" would have to be the previous entry > > that changes it, not the real one). > > How about a program that made the fake thing real? That is, actually wrote > to the database the entire history with only those paths included, and > only commits that change those paths.
I think it would be a fine thing to do. If/once git-rev-list can do the "limit by filename" part, generating a new git history that uses that shouldn't be that hard.
And yes, it would be a way to generate a "subproject" automatically.
Linus