Re: Revert only whitespace changes
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