Re: New repo quickly corrupted

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Thursday, November 15, 2007 - 3:01 pm

On Thu, 15 Nov 2007, Jason Sewall wrote:

Oops.

You just ran "dos2unix" on all the *git* files!

Which certainly explains why all your old objects got corrupted!


PEBKAC ;)

To avoid this error in the future, may I suggest using

	git ls-files -z | xargs -0 dos2unix

or similar. Please DO NOT write to the .git/objects directory.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
New repo quickly corrupted, Jason Sewall, (Thu Nov 15, 2:50 pm)
Re: New repo quickly corrupted, Junio C Hamano, (Thu Nov 15, 2:55 pm)
Re: New repo quickly corrupted, Jason Sewall, (Thu Nov 15, 2:59 pm)
Re: New repo quickly corrupted, Linus Torvalds, (Thu Nov 15, 3:01 pm)
Re: New repo quickly corrupted, Jason Sewall, (Thu Nov 15, 3:06 pm)
Re: New repo quickly corrupted, Nicolas Pitre, (Thu Nov 15, 3:12 pm)
Re: New repo quickly corrupted, Linus Torvalds, (Thu Nov 15, 3:37 pm)
Re: New repo quickly corrupted, Christian Couder, (Thu Nov 15, 10:45 pm)
Re: New repo quickly corrupted, Andreas Ericsson, (Fri Nov 16, 12:35 am)
Re: New repo quickly corrupted, Christian Couder, (Sat Nov 17, 5:53 am)
Re: New repo quickly corrupted, Robin Rosenberg, (Sat Nov 17, 7:13 am)