Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] EGit / line ending problems with simrel repo

Robin Rosenberg skrev 2012-08-17 21.14:
Eike Stepper skrev 2012-08-16 06.52:
Hi,

I'm working on a Windows box and my clone of org.eclipse.simrel.build marks files dirty that I have not touched myself. Currently this is the case for:

     mdt-ocl.b2aggrcon
     webtools.b2aggrcon

My Git system config file contains:

     [core]
       autocrlf = true

Egit displays no values for the *system* configuration in the properties view (UI bug? core bug? any bug??).

Egit displays a duplicate value ("[true][true]") for the *global* configuration in the properties view (UI bug? core bug? any bug??).

I cloned the simrel repo on Windows using the latest nightly build and nothing is marked dirty.

$ cat /u/.gitconfig
[user]
         email = robin.rosenberg@xxxxxxxxxx
         name = Robin Rosenberg

$ cat /etc/gitconfig
[core]
         symlinks = false
         autocrlf = true
[color]
         diff = auto
         status = auto
         branch = auto
         interactive = true
[pack]
         packSizeLimit = 2g
[help]
         format = html
[http]
         sslCAinfo = /bin/curl-ca-bundle.crt
[sendemail]
         smtpserver = /bin/msmtp.exe

[diff "astextplain"]
         textconv = astextplain
[rebase]
         autosquash = true

Eclipse finds the git system config in C:\Program Files\Git\etc\gitconfig and nothing looks strange in the config.

If I compare an unchanhged file with HEAD revison all lines are marked changed, so that's a bug.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=387501 for a fix to that too. It should affect the staging view
and possibly other places in EGit in a positive way.

-- robin



Back to the top