Re: File extension conflict when working with git and latex
- From
Simon Ruderich <simon@ruderich.org>
- Date
- Mar 21, 2014, 16:36 UTC
- Message-ID
- <20140321163628.GA28121@ruderich.org>
- In-Reply-To
- <20140321161324.GC2965@fu.192.168.200.1>
On Fri, Mar 21, 2014 at 05:13:24PM +0100, Matthias Beyer wrote:
Show 5 quoted lines
> 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-<hash>.pack
for each pack file.
Regards Simon
-- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9