From: Shawn Pearce Date: Mon, 28 Mar 2011 16:25:01 GMT Subject: Re: git fast-import --export-marks flag Message-ID: In-Reply-To: <4D90B457.9040607@codicesoftware.com> On Mon, Mar 28, 2011 at 09:16, psantosl@codicesoftware.com wrote: > 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.