Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] line delimiters and non-jgit repositories

Hi Susan,
If  you don't use autocrlf true then you have to use orion editor to edit your files.

This is what happens, I'll assume you are working on Windows, without autocrlf true all files in your local repo will use LF (like the files in the remote). Native editor (notepad, eclipse, etc) will enter CRLF in your file causing the file to have again a mix of CRLF and LF that we would like to avoid. Note that some editors (like Eclipse) allows you to choose what line delimiter to use, so in theory you should be able to use them as long as you set line delimiter to LF (I didn't test it).

The orion editor will detect what line delimiter is already in the file and use it (avoid mixing CRLF-LF).

I would also recommend to you (and everybody else working on org.eclipse.orion.client) to:
1 - pull
2 -  delete all the files from your working dir
3 - checkout master

This will make sure all files are changed to the correct line delimiter (I tried git reset hard but it didn't replace the files that had only the line delimiter changed).

Regards
Felipe



From: Susan Franklin McCourt <susan_franklin@xxxxxxxxxx>
To: orion-dev@xxxxxxxxxxx
Date: 06/14/2011 05:57 PM
Subject: [orion-dev] line delimiters and non-jgit repositories
Sent by: orion-dev-bounces@xxxxxxxxxxx





As I understand bug 349096, we are now to use autocrlf=true in order to avoid the mixed line delimiter problem.
But we turned autocrlf to false when we discovered bug 339397.

Can someone please look at my latest comment in the line delimiter bug and confirm or deny that we are kind of hosed? [1]
I'm not sure we have a workable workflow where someone can use command line git repos linked into Orion.

susan

[1]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=349096#c8_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev



Back to the top