gnucash git line endings (CR/LF)?
derek at ihtfp.com
Mon Jul 1 11:09:39 EDT 2013
On Mon, July 1, 2013 10:44 am, Geert Janssens wrote:
> Christian also mentioned this problem last week (mail titled re: Github
> repo on June 23rd).
I remembered seeing something about that a few weeks ago but I didn't mark
the message and couldn't find it in a quick search. I thought it had been
solved, which is probably why I didn't pay close attention.
> The odd thing is I don't get this. I've run this sequence:
> $ git clone --mirror ssh://email@example.com/gnucash.git
> $ (cd gnucash.git; git fetch --all)
> ... (no errors)
> $ git clone --local -b trunk gnucash.git gnucash-trunk
> Cloning into 'gnucash-trunk'...
> Checking out files: 100% (2582/2582), done.
> $ cd gnucash-trunk/
> $ git status
> # On branch trunk
> # Initial commit
> nothing to commit (create/copy files and use "git add" to track)
Hmm.. I'm running the exact same sequence and I have the issue!
That is odd!
> So as you can see, on my system these CRLF conversion errors are not
> appearing. I have no idea what's different. I'm on Fedora 18, 32bit. I
> have no config parameter set globally that relates in any way to crlf
> (no core.autocrlf or any other parameter).
What are the contents of your ~/.gitconfig? Mine are:
name = Derek Atkins
email = derek at ihtfp.com
st = status
default = tracking
ui = auto
> So I'm a bit surprised you do run into these. Just like Christian does.
> Perhaps a locale setting ? This is what my locale is set to:
> $ locale
For me everything is en_US.UTF-8. I wonder if that makes a difference
versus yours, en_US.utf8?
> My git version is git-220.127.116.11-2.fc18.i686
Exact same version.
Derek Atkins 617-623-3745
derek at ihtfp.com www.ihtfp.com
Computer and Internet Security Consultant
More information about the gnucash-devel