From: Alexander Litvinov <litvinov2004@gmail•com>
To: git@vger•kernel.org
Subject: git-svn and auto crlf convertion.
Date: Wed, 31 Oct 2007 10:49:43 +0600 [thread overview]
Message-ID: <200710311049.43861.litvinov2004@gmail.com> (raw)
Hello.
I have private svn repo with cpp source file in windows encoding (\r\n line
ending). I am tring to import it into git using git-svn. To make correct crlf
convertion I have made git svn init first then create
correct .git/info/attributes file and import repo using git svn fetch
command. But after import done I have strange situation: after git
checkout -f master git status show that almost all text files are modified.
As I understand situation git-svn put \r\n encoded files into repo without
convertng them to \n notation. git-checkout,git-status does the job right and
found 'modification' as far as they do the needed convertion.
Is there any way to configure git-svn to make proper convertion or it is
broken and need to be fixed ?
next reply other threads:[~2007-10-31 4:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-31 4:49 Alexander Litvinov [this message]
2007-10-31 6:30 ` git-svn and auto crlf convertion Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200710311049.43861.litvinov2004@gmail.com \
--to=litvinov2004@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox