[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Revert only whitespace changes

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 14 Jun 2011 16:46:49 +0200

On Tue, Jun 14, 2011 at 04:32:50PM +0200, Markus Schaber wrote:
> Hi, Konstantin,
> > A good policy is to educate the developers to commit whitespace-only
> > changes in a separate commit.
> I know that. And I'm searching for a tool allowing me to do just that.
> Especially when you make a self-contained change (e. G. pure addition of
> new methods or a new class, not touching any existing code pathes) to a
> large "legacy" code file, and accidentally hit "Reformat code" in
> ignorance of the fact that this file does not yet conform to the style
> guide, you're busted.

So why doesn't the IDE have an undo button that restores the previous
format? I don't think this warrants introducing a new feature in the
version control system. Rather, the IDE should be fixed.
Received on 2011-06-14 16:47:33 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.