{"thread":{"id":"2920","subject":"git repack throws -> error: unrecognized: ??","startedAt":"2005-12-24T02:11:21Z","lastAt":"2005-12-24T03:16:37Z","messageCount":2,"participants":["Duncan Mac Leod","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"13992","messageId":"43ACAE49.4000902@excelsior-online.org","threadId":"2920","inReplyTo":null,"subject":"git repack throws -> error: unrecognized: ??","fromName":"Duncan Mac Leod","fromEmail":"duncan@excelsior-online.org","sentAt":"2005-12-24T02:11:21Z","receivedAt":"2005-12-24T02:11:21Z","isPatch":false,"sender":{"key":"duncan@excelsior-online.org","avatar":null},"body":"Hi!\n\nI have done the following operations on my git repository...\n\nduncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git fsck-objects\nduncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git prune\nduncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git count-objects\n42 objects, 616 kilobytes\nduncan@firebird /var/git $ GIT_DIR=/var/git/myproject.git git repack\nPacking 42 objects\nPack pack-d715ebdf63391b054d9f058d59d3d3a4f6f2a12c created.\nerror: unrecognized:\n\nThe last one throws 'error: unrecognized:' - what does this mean?\n\nUnder which circumstances is this error message fired?\n\nDid my git repository get corrupted?\n\n...and 'HAPPY HOLIDAYS' to all of you!\n\nDuncan\n"},{"id":"13994","messageId":"7v4q4z4222.fsf@assigned-by-dhcp.cox.net","threadId":"2920","inReplyTo":"43ACAE49.4000902@excelsior-online.org","subject":"Re: git repack throws -> error: unrecognized: ??","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-12-24T03:16:37Z","receivedAt":"2005-12-24T03:16:37Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Duncan Mac Leod <duncan@excelsior-online.org> writes:\n\n> The last one throws 'error: unrecognized:' - what does this mean?\n>\n> Under which circumstances is this error message fired?\n>\n> Did my git repository get corrupted?\n\nNo.  But you are running GIT before 1.0.0b.\n\nNamely, this commit is needed to squelch the error message:\n\n    commit 8ac4838af428a2a32498b3e8d13295eb714654b4\n    Author: Junio C Hamano <junkio@cox.net>\n    Date:   Wed Dec 21 13:48:47 2005 -0800\n\n        server-info: skip empty lines.\n\n        Now we allow an empty line in objects/info/packs file, recognize\n        that and stop complaining.\n\n        Signed-off-by: Junio C Hamano <junkio@cox.net>\n"}]}