Re: Git on Windows, CRLF issues
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 24, 2008, 08:11 UTC
- Message-ID
- <alpine.DEB.1.00.0804240909220.26553@eeepc-johanness>
- In-Reply-To
- <32541b130804231604r4c439fa5va5c01bfd53a22cc7@mail.gmail.com>
Hi,
On Wed, 23 Apr 2008, Avery Pennarun wrote:
> What I really want is the equivalent of "dos2unix --recursive *.c *.txt > etc" for all commits.
I start to wonder if "git fast-export --all | my-intelligent-perl-script | git fast-import" would not be a better solution here.
All you would have to do is to detect when a blob begins, and how long it is, and work with that. If your trees do not contain any binary files, it should be trivial.
Ciao, Dscho