Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Netbeans changes line-endings ruining pull requests... Any recommendations?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Anselm Christophersen  
View profile  
 More options Sep 21 2012, 8:45 am
From: Anselm Christophersen <a...@title.dk>
Date: Fri, 21 Sep 2012 14:45:25 +0200
Local: Fri, Sep 21 2012 8:45 am
Subject: Re: [silverstripe-dev] Netbeans changes line-endings ruining pull requests... Any recommendations?
I've been using Netbeans as my IDE on both Mac and Ubuntu for quite a while and have never had trouble with its standard settings and pull requests.
So Netbeans shouldn't be the problem. Maybe it's a problem with some files you've previously opened on Windows?

Anselm

On 21/09/2012, at 14.05, Roman wrote:

> AFAIK the old Mac OS used CR as line-ending which sadly is incompatible
> with most version control systems. I had to experience this myself when
> I tried to put some ActionScript files in a GIT repository (they have
> been edited using the Flash Professional IDE which saves with CR
> line-endings on mac).

> Apparently Netbeans also uses CR line-endings on mac, which is probably
> causing these issues.

> I'd switch editor... personally I can recommend the following:
> Eclipse (get PHP plugin) :
> http://www.eclipse.org/downloads/packages/eclipse-classic-42/junor
> Coda2 : http://www.panic.com/coda/
> Textmate : http://macromates.com/

> Eclipse is probably closest to what you had with Netbeans. There's also
> aptana (http://aptana.com/) which is an eclipse based IDE for
> web-development.

> Cheers - Roman

> On 9/21/12 1:38 PM, Martimiz wrote:
>> Hi all

>> Recently I switched to using a Mac and switched to Netbeans from my
>> old Windows editor, but unfortunately it ruins my pull requests,
>> because it changes the line-endings for some lines that I didn't
>> edit.  This mostly seems to affect those lines starting with /**

>> I've searched the web, but can't find a way for Netbeans to leave my
>> line-endings alone. I read it checks the first line ending in the
>> file, and then converts every other line ending to that format.
>> Probably some files in SilverStripe have mixed line endings?

>> Are there any Mac users around who'd know if and how this can be
>> fixed? If not, can you please recommend another good PHP editor that
>> won't do this, short of editing everything in vi?

>> Thanks, Martine

>> --
>> You received this message because you are subscribed to the Google
>> Groups "SilverStripe Core Development" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/silverstripe-dev/-/n4trD_Chql0J.
>> To post to this group, send email to silverstripe-dev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> silverstripe-dev+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/silverstripe-dev?hl=en.

> --
> You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
> To post to this group, send email to silverstripe-dev@googlegroups.com.
> To unsubscribe from this group, send email to silverstripe-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/silverstripe-dev?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.