Re: Importing non-version controlled bits and pieces to Git
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 20, 2008, 13:00 UTC
- Message-ID
- <alpine.DEB.1.00.0806201359320.6439@racer>
- In-Reply-To
- <Pine.LNX.4.64.0806201339330.4004@ds9.cixit.se>
Hi,
On Fri, 20 Jun 2008, Peter Karlsson wrote:
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?
Why not import everything with a CR/LF, and then use filter-branch with a really simple tree-filter? It is slow, alright, but it is safe, too.
Ciao, Dscho