On Thu, Mar 24, 2011 at 2:13 PM, Jelmer Vernooij
<email address hidden> wrote:
> On Wed, 2011-03-23 at 21:14 +0000, Olaf van der Spek wrote:
>> On Wed, Mar 23, 2011 at 9:56 PM, Jelmer Vernooij
>> <email address hidden> wrote:
>> > Rather than putting this in core it might make sense for us to publish
>> > an example plugin that demonstrates things like this. There are lots of
>> > variations to this theme.
>> What are the variations?
> Expanding tabs, checking copyright headers for years, checking files for
> licenses, stripping trailing whitespace, enforcing particular C
> indentation styles, etc.
Trailing whitespace affects diffs and leading whitespace differences
are invisible and depended on editor settings.
But yeah, a generic way to handle this with a plugin would be nice.
On Thu, Mar 24, 2011 at 2:13 PM, Jelmer Vernooij
<email address hidden> wrote:
> On Wed, 2011-03-23 at 21:14 +0000, Olaf van der Spek wrote:
>> On Wed, Mar 23, 2011 at 9:56 PM, Jelmer Vernooij
>> <email address hidden> wrote:
>> > Rather than putting this in core it might make sense for us to publish
>> > an example plugin that demonstrates things like this. There are lots of
>> > variations to this theme.
>> What are the variations?
> Expanding tabs, checking copyright headers for years, checking files for
> licenses, stripping trailing whitespace, enforcing particular C
> indentation styles, etc.
Trailing whitespace affects diffs and leading whitespace differences
are invisible and depended on editor settings.
But yeah, a generic way to handle this with a plugin would be nice.
Olaf