Re: Mason Tidy!

Jonathan Swartz <[email protected]> Mon, 1 Oct 2012 16:47:14 -0700
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
On Oct 1, 2012, at 5:05 AM, Pedro Melo wrote:

> Hi,
> 
> On Fri, Sep 28, 2012 at 6:47 PM, Jonathan Swartz <[email protected]> wrote:
>> Yes, this was certainly a bug...
>> 
>> I tried to preserve both cases (newline and no-newline at end of file), but it turns out that perltidy always enforces a newline at end, so I'm just going to do the same. Hope no one feels strongly about not having a newline at end.
> 
> I for one would prefer to keep the last newline. Some git tools give
> me warnings when the last newline is missing (eg git-gui).
> 

Yup, that's what I did.

> Speaking of white-space: empty % lines gain an extra space (also
> visible in git-gui as a big read block :) ).
> 
> More: if a file ends with a empty % line, the entire line is removed…

Fixing…


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev