On 01-07-13 15:47, Derek Atkins wrote:
Hi,

I just did a checkout of trunk and immediately I had some changed files,
apparently due to line endings.  I thought we had fixed this, or is
there something I need to do to my personal git config before I make
this clone?

....
Christian also mentioned this problem last week (mail titled re: Github repo on June 23rd).

The odd thing is I don't get this. I've run this sequence:
$ git clone --mirror ssh://[email protected]/gnucash.git
...
$ (cd gnucash.git; git fetch --all)
... (no errors)
$ git clone --local -b trunk gnucash.git gnucash-trunk
Cloning into 'gnucash-trunk'...
done.
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)


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).

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
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC=nl_BE.utf8
LC_TIME=nl_BE.utf8
LC_COLLATE="en_US.utf8"
LC_MONETARY=nl_BE.utf8
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=nl_BE.utf8
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

My git version is git-1.8.1.4-2.fc18.i686

Geert

[warlord@mocana gnucash]$ git clone --local -b trunk gnucash.git gnucash-trunk
Cloning into 'gnucash-trunk'...
done.
[warlord@mocana gnucash]$ cd gnucash-trunk
[warlord@mocana gnucash-trunk]$ git status
# On branch trunk
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   doc/README-de.win32-bin.txt
#       modified:   doc/README-fr.win32-bin.txt
#       modified:   doc/README-it.win32-bin.txt
#       modified:   doc/README-nl.win32-bin.txt
#       modified:   doc/README-zh_CN.win32-bin.txt
#       modified:   doc/README-zh_TW.win32-bin.txt
#       modified:   doc/README.win32-bin.txt
#       modified:   doc/examples/downloaded.mt940
#       modified:   packaging/win32/ChineseSimp-12-5.1.11.isl
#       modified:   packaging/win32/ChineseTrad-2-5.1.11.isl
#       modified:   packaging/win32/Greek-4-5.1.11.isl
#       modified:   packaging/win32/Japanese-5-5.1.11.isl
#       modified:   packaging/win32/getperl.vbs
#       modified:   packaging/win32/gnucash.iss.in
#       modified:   packaging/win32/install-fq-mods.cmd
#       modified:   packaging/win32/webkit-1.2.7-configure.patch
#       modified:   packaging/win32/webkit-1.2.7-datadir.patch
#       modified:   packaging/win32/webkit-1.2.7-gccpath.patch
#       modified:   packaging/win32/webkit-1.2.7-makefile.patch
#       modified:   packaging/win32/webkit-1.2.7-nosvg.patch
#
no changes added to commit (use "git add" and/or "git commit -a")

-derek


_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to