git repack throws -> error: unrecognized: ??
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
Quoted 5 lines · Duncan Mac Leod
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 <[email protected]>
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.