While I like this tool, I think it only shows white space in lines you've
changed (i.e. the diff).  If you want to go looking for other white space
another tool is needed, but I don't know what that tool is.

Sean

On Tue, Jul 14, 2015 at 3:22 PM, Dave Birdsall <dave.birds...@esgyn.com>
wrote:

> Hi,
>
> Awhile back I went looking for a tool that would check for trailing white
> space in source code. (I was looking for this because our earlier Gerrit
> code review tool made a big deal about trailing white space and it was
> distracting.)
>
> I found that git has a good tool for checking for it.
>
> git diff --check
>
> This command will look at any files you've changed and tell you what lines
> have trailing white space.
>
> I don't know if trailing white space will be an annoyance for us in the
> future, but if it is, here's a tool that can help you manage it.
>
> Dave
>

Reply via email to