From: Junio C Hamano Date: Wed, 14 Feb 2007 21:52:21 GMT Subject: Re: Error converting from 1.4.4.1 to 1.5.0? Message-ID: <7vvei4l84q.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vzm7gl8cf.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > Bill Lear writes: > >> WAAAAAIAMINIT ... I think I see it: >> >> % perl -pi -e 's/.*\$Id.*//sx' $(xgrep -l '[$]Id') >> >> Could I have corrupted the pack file? I'll bet $50 I did: >> >> % [yet another clone] >> % xgrep -l '[$]Id' >> ./.git/objects/pack/pack-23d1a9af78b4b78d1f3750cf70f83cb91a20ba64.pack >> [...] >> >> %!@#$&$%(@@@!!! > > We all make mistakes. Thanks for being honest. By the way, I sometimes think it might be worth doing this: $ chmod a-r .git/ We always access files by explicit paths and never ask "ls .git/foo*" to find what are under .git/ directory.