[Paraview-developers] Adding a check for local Git hooks

Brad King brad.king at kitware.com
Fri Jul 16 09:06:35 EDT 2010


On 07/16/2010 08:42 AM, Moreland, Kenneth wrote:
>     M-x “replace-regexp” “ *$” “”
> 
> For losers that don’t use emacs:
        ^
Or those that don't know about emacs' builtin command for it:

  M-x delete-trailing-whitespace

Actually your replacement approach allows one to selectively
do it only on lines that one changed.  This can help minimize
unrelated changes in a commit.

-Brad


More information about the Paraview-developers mailing list