Re: [WIP/PATCH] Teach fast-import to print the id of each imported commit
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 2, 2010, 05:12 UTC
- Message-ID
- <20100702051201.GC7209@burratino>
- In-Reply-To
- <20100701054849.GA14972@burratino>
Jonathan Nieder wrote:
Show 10 quoted lines
> Should fast-import accept lines of the form > > M 100644 <commit id>:<path> <path> > > and > > M 040000 <commit id>:<path> <path> > > to allow the caller to use commits before they are accessible > through the git object database?
A ‘cat’ command (suggested by David) would also be useful, so the caller can read trees and blobs before they are accessible through the object db. The svn importer would use this when applying (svndiff0-format) deltas to import changes to regular files.