git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
psantosl@codicesoftware.com <psantosl@codicesoftware.com>
Date
Mar 28, 2011, 16:48 UTC
Message-ID
<4D90BBC4.2000908@codicesoftware.com>
In-Reply-To
<AANLkTinpZ=PjGpFozCAWscfms6uWBSO2y+XqCGGqB2KP@mail.gmail.com>
Hi Shawn,
> 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.

Well, they're useful to run subsequent imports reusing the marks generated on the first import.

But ok, it seems my marks are "overflowing":
>cat fast-export.dat

blob mark :1 data 7 bar.c

blob mark :2 data 7 foo.c

reset refs/heads/master commit refs/heads/master mark :1583217 author unknown <pablo@.(none)> 1300813103 +0100 committer unknown <pablo@.(none)> 1300813103 +0100 data 8 initial M 100644 :1 src/bar.c M 100644 :2 src/foo.c

commit refs/heads/master mark :1583219 author unknown <pablo@.(none)> 1300813115 +0100 committer unknown <pablo@.(none)> 1300813115 +0100 data 5 move from :1583217 R "src/bar.c" "dst/bar.c" R "src/foo.c" "dst/foo.c"

reset refs/heads/master from :1583219

And the generated marks are:

:1 d1fe62248992d88f286d03bde972932e0118bf3c :2 146a766f34eb1dfb6c4d7b19a45ddf49ef7e5d5b :1074276465 52f475aba140ca2d6f6eb8f47ef0cdb9d043fab5 :1074276467 caf606bb7cc64bab818acbc52b40d545467ddafc

pablo
Previous: Shawn PearceNext: psantosl@codicesoftware.com
Message 3 of 4 in “git fast-import --export-marks flag”
  1. psantosl@codicesoftware.comMar 28, 2011
  2. Shawn PearceMar 28, 2011
  3. psantosl@codicesoftware.comMar 28, 2011
  4. psantosl@codicesoftware.comMar 28, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.