From: Matthias Beyer Date: Fri, 21 Mar 2014 16:46:51 GMT Subject: Re: File extension conflict when working with git and latex Message-ID: <20140321164651.GD2965@fu.192.168.200.1> In-Reply-To: <20140321163628.GA28121@ruderich.org> On 21-03-2014 17:36:28, Simon Ruderich wrote: > On Fri, Mar 21, 2014 at 05:13:24PM +0100, Matthias Beyer wrote: > > Unfortunetely, we wrote our `make clean` task recursively. I think you > > can imagine what went wrong: The clean-task corrupted the repository, > > as it removed .idx files from within .git/. > > > > I lost work because of this ugly name collision. > > Hello Matthias, > > You can recreate the .idx files by running > > git index-pack .git/objects/pack/pack-.pack > > for each pack file. Hi Simon, I think so. I executed: git fsck # reports N missing blobs, commits, trees and dangling stuff git index-pack ... git fsck # reports only dangling commits and blobs I don't know if this means that the repository is fixed now? -- Mit freundlichen Grüßen, Kind regards, Matthias Beyer Proudly sent with mutt. Happily signed with gnupg.