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

Re: [PATCH] fast-export: report SHA-1 instead of gibberish when marks exist already

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 12, 2012, 14:26 UTC
Message-ID
<7vtxyg4ndd.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1339508716-51880-2-git-send-email-max@quendi.de>
Max Horn <max@quendi.de> writes:
Show 6 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de>
>
> Cc: Pieter de Bie <pdebie@ai.rug.nl>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> Signed-off-by: Max Horn <max@quendi.de>
> ---
Thanks, both.  Applied.
Show 16 quoted lines
>  builtin/fast-export.c |    2 +-
>  1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/builtin/fast-export.c b/builtin/fast-export.c
> index 19509ea..ef7c012 100644
> --- a/builtin/fast-export.c
> +++ b/builtin/fast-export.c
> @@ -610,7 +610,7 @@ static void import_marks(char *input_file)
>  			die ("Could not read blob %s", sha1_to_hex(sha1));
>  
>  		if (object->flags & SHOWN)
> -			error("Object %s already has a mark", sha1);
> +			error("Object %s already has a mark", sha1_to_hex(sha1));
>  
>  		mark_object(object, mark);
>  		if (last_idnum < mark)
Previous: Max Horn
Message 3 of 3 in “fast-export: report SHA-1 instead of gibberish when marks”
  1. fast-export: report SHA-1 instead of gibberish when marksMax Horn, Jun 12, 2012
  2. fast-export: report SHA-1 instead of gibberish when marks exist alreadyMax Horn, Jun 12, 2012
  3. Junio C HamanoJun 12, 2012

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.