Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: git fast-import --export-marks flag

From: Shawn Pearce <hidden>
Date: 2016-06-15 22:50:55

On Mon, Mar 28, 2011 at 09:16, psantosl@codicesoftware.com
[off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help