Peter Harris:

On Fri, Apr 11, 2008 at 11:47 PM, Peter Harris
<[EMAIL PROTECTED]> wrote:
>  On Fri, Apr 11, 2008 at 4:03 AM, Darren Syzling wrote:
>  >  How does this work with git-svn and msysgit and are there currently
>  >  issues here?
>  Currently, git-svn doesn't work with autocrlf. The Right Thing to do
>  would be for git-svn to convert svn:eol-style properties into a
>  .gitattributes file in the repository. Patches Welcome.

In the case that eol-style appears, I agree.

However can we assume that svn:eol-style is being used? IIRC, the svn
default config is auto-props == no and no file-name-patterns defined.
In other words, nothing is converted, bytes are bytes.

>  For now, I manually turn off autocrlf for each of my git-svn repositories.

Just to confirm, do you do this?

> git svn clone repo-url wk
> rem OMG wk is autocrlf==true
> mkdir wk-no
> move wk\.git wk-no
> rmdir /s/q wk
> cd wk-no
> git config core.autocrlf false
> git checkout HEAD -f --

Best regards,
Clifford Caoile

Reply via email to