Ad: fast-import problem importing dos format files under cygwin
- From
- Jan Hudec <bulb@ucw.cz>
- Date
- Dec 3, 2008, 09:10 UTC
- Message-ID
- <43270.194.138.12.144.1228295417.squirrel@artax.karlin.mff.cuni.cz>
- In-Reply-To
- <43827.194.138.12.144.1228290700.squirrel@artax.karlin.mff.cuni.cz>
On 3 December 2008, 08:51, Jan Hudec wrote:
Show 8 quoted lines
> Hello folks, > > I have been playing with fast-import in cygwin and I have problems > importing files with CR/LF line-endings. The size in data command is > calculated including the CRs and than the file is copied binary to the > fast-import input stream. However fast-import skips the CRs when reading, > overreads by that number of bytes and fails when it tries to read the > next command from the middle.
One addition:
I have tried with MSYS version 1.5.6.1.1071.g76fb and it imported the test, as it was, except it didn't like 'refs/heads/master' as branchname (and accepted bare 'master', but that created '.git/master').
--
- Jan Hudec <bulb@ucw.cz>