Re: git fast-import --export-marks flag
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Mar 28, 2011, 16:25 UTC
- Message-ID
- <AANLkTinpZ=PjGpFozCAWscfms6uWBSO2y+XqCGGqB2KP@mail.gmail.com>
- In-Reply-To
- <4D90B457.9040607@codicesoftware.com>
On Mon, Mar 28, 2011 at 09:16, psantosl@codicesoftware.com <psantosl@codicesoftware.com> wrote:
Show 11 quoted lines
> git fast-import --export-marks is able to export to a file the marks and > its associated commit hashes created during import. > > So far I've seen the marks are not the ones provided in the input but > some "internal ones" not related with the input. > > Wouldn't it be much better, for import/export interop, if it kept the > original marks? > > It would be certainly easier to do incremental import/export with > external systems not dealing with SHAs...
I don't know what you are looking at, but fast-import uses the same mark numbers that were supplied in the input stream inside of the exported marks file. Otherwise as you pointed out, the marks are useless.
-- Shawn.