Re: Importing non-version controlled bits and pieces to Git
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Jun 20, 2008, 12:57 UTC
- Message-ID
- <485BA94F.4090805@viscovery.net>
- In-Reply-To
- <Pine.LNX.4.64.0806201339330.4004@ds9.cixit.se>
Peter Karlsson schrieb:
Show 5 quoted lines
> One complicating factor is that I am working with DOS/Windows source > code, so all text files have CRLF line-endings, which means converting > before feeding to fast-import, or manually doing "git add" with > core.autocrlf == true. fast-import can't be set up to do CRLF > auto-conversion, can it?
No, but you can put `tr -d '\015'` in the pipeline in front of fast-import. (Unless, of course, you also have to feed binary data.)
-- Hannes