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

Re: git repack throws -> error: unrecognized: ??

From
Junio C Hamano <junkio@cox.net>
Date
Dec 24, 2005, 03:16 UTC
Message-ID
<7v4q4z4222.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<43ACAE49.4000902@excelsior-online.org>
Duncan Mac Leod <duncan@excelsior-online.org> writes:
Show 5 quoted lines
> The last one throws 'error: unrecognized:' - what does this mean?
>
> Under which circumstances is this error message fired?
>
> Did my git repository get corrupted?
No.  But you are running GIT before 1.0.0b.
Namely, this commit is needed to squelch the error message:
    commit 8ac4838af428a2a32498b3e8d13295eb714654b4
    Author: Junio C Hamano <junkio@cox.net>
    Date:   Wed Dec 21 13:48:47 2005 -0800
        server-info: skip empty lines.
        Now we allow an empty line in objects/info/packs file, recognize
        that and stop complaining.
        Signed-off-by: Junio C Hamano <junkio@cox.net>
Previous: Duncan Mac Leod
Message 2 of 2 in “git repack throws -> error: unrecognized: ??”
  1. Duncan Mac LeodDec 24, 2005
  2. Junio C HamanoDec 24, 2005

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.