See: http://help.github.com/dealing-with-lineendings/
Or... to keep it short, u should set it to "true" on Windows and to
"input" on linux/mac.
Vlad
On 1/9/2011 4:58 AM, Wiedmann, Jochen wrote:
You're right, of course. Sorry! But
bash-3.2$ git config core.autocrlf
bash-3.2$ git config core.autocrlf false
bash-3.2$ git config core.autocrlf
false
restarting Eclipse and refreshing the workspace also
doesn't change a thing. :-(
SAG Consulting
Services GmbH - Sitz/Registered office:
Uhlandstraße 9, 64297 Darmstadt, Germany -
Registergericht/Commercial register:
Darmstadt HRB 85598
Geschäftsführer/Managing
Directors: Klaus Katz, Arno Theiß - http://www.softwareag.com
|
-----Ursprüngliche Nachricht-----
Von: Robin Rosenberg [mailto:robin.rosenberg@xxxxxxxxxx]
Gesendet: So 09.01.2011 00:36
An: Wiedmann, Jochen
Cc: egit-dev@xxxxxxxxxxx
Betreff: Re: AW: [egit-dev] All text files modified?
8 jan 2011 kl. 22:44 skrev Wiedmann, Jochen:
>
> Hi, Robin,
>
> first of all, thanks for your reply:
>
>
> > >
> > > I am running Eclipse 3.6.1
(M20100909-0800) with eGit 0.10.1 and have a Git
repository,
> > > that I am usually controlling through
CygWin's git. From the command line, my repository is
clean:
> > >
> > > bash-3.2$ git status cs-utils-core
> > > # On branch master
> > > nothing to commit (working directory
clean)
> > >
> > > Within Eclipse, though, I see all text
files marked as modified, which means that eGit
> > > is basically pointless for me. I tried to
set core.eol to various values, nothing changed. Any
> > > ideas?
> >
> > Do you have core.autocrlf set to true? That
might explain. Although there is some support
> > for end-of-line conversion, there are a couple
of bugs that prevents it from working. See
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=301775
and related bugs.
>
> Did the following:
>
> bash-3.2$ git config auto.crlf
> bash-3.2$ git config auto.crlf false
> bash-3.2$ git config auto.crlf
> false
>
> In other words, it is now explicitly set to false.
Afterwards, I restarted Eclipse and did a "refresh" on
the workspace. Same result. :-(
>
The option is named core.autocrlf
-- robin
_______________________________________________
egit-dev mailing list
egit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/egit-dev
|