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

Re: [PATCH] fast-import: Don't barf if import-marks file is missing

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 11, 2011, 20:05 UTC
Message-ID
<7vei8j435f.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1294766058-29739-1-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> The --import-marks option used to barf when the specified marks file
> doesn't exist. Change its meaning to "read marks file if it exists" so
> that callers don't have to handle bootstraping as a special case.

It is very plausible that people other than you are relying on "barf if it does not exist" semantics, and the above does not justify breaking their workflow.

I'd suggest making this an optional feature.
Previous: Ramkumar Ramachandra
Message 6 of 6 in “fast-import: Create import-marks file when necessary”
  1. fast-import: Create import-marks file when necessaryRamkumar Ramachandra, Jan 9, 2011
  2. Junio C HamanoJan 9, 2011
  3. fast-import: Don't barf if import-marks file is missingRamkumar Ramachandra, Jan 11, 2011
  4. Jonathan NiederJan 11, 2011
  5. fast-import: Introduce --import-marks-if-existsRamkumar Ramachandra, Jan 15, 2011
  6. Junio C HamanoJan 11, 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.