threads / discuss / 2920

git repack throws -> error: unrecognized: ??

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

## tl;dr

2 messages between Dec 24, 2005 and Dec 24, 2005.

replies: 1people: 2as markdown or json

Duncan Mac Leod· Dec 24, 2005, 02:11 UTC · lore
Hi!
I have done the following operations on my git repository...

duncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git fsck-objects duncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git prune duncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git count-objects 42 objects, 616 kilobytes duncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git repack Packing 42 objects Pack pack-d715ebdf63391b054d9f058d59d3d3a4f6f2a12c created. error: unrecognized:

The last one throws 'error: unrecognized:' - what does this mean?
Under which circumstances is this error message fired?
Did my git repository get corrupted?
...and 'HAPPY HOLIDAYS' to all of you!
Duncan
Junio C Hamano· Dec 24, 2005, 03:16 UTC · re: Duncan Mac Leod · lore

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

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>

← back to recent threads