Re: [PATCH 8/8] Allow helpers to request marks for fast-import
- From
Johan Herland <johan@herland.net>
- Date
- Aug 9, 2009, 21:25 UTC
- Message-ID
- <200908092325.53040.johan@herland.net>
- In-Reply-To
- <alpine.LNX.2.00.0908091527480.27553@iabervon.org>
On Sunday 09 August 2009, Daniel Barkalow wrote:
Show 10 quoted lines
> From: Johan Herland <johan@herland.net> > > The 'marks' capability is reported by the remote helper if it requires > the fast-import marks database to loaded/saved by any git-fast-import > process that is provided by the transport machinery. The feature is > advertised along with exactly one argument: the location of the file > containing the marks database. > > Signed-off-by: Johan Herland <johan@herland.net> > Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Note that this patch can be dropped if Sverre Rabbelier's suggestion of adding an "option" command to fast-import is accepted: http://thread.gmane.org/gmane.comp.version-control.git/124655
In that case, the CVS helper (or any other helper) can use the "option" fast-import command instead of having to tell transport-helper.c to invoke fast-import appropriately. Seems like a somewhat cleaner solution to me...
Have fun!
...Johan