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

Re: svn commit: rev 4323 - trunk/subversion/clients/cmdline

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-01-10 22:39:20 CET

Greg Stein writes:
> You inserted some tabs into (at least) feedback.c.
>
> Cheers,
> -g
>
> /me thinks about a pre-commit hook to disallow .[ch] files with tabs... :-)

I've enforced an indentation policy before with emacs in batch mode
doing roughly the following on each file:

      (find-file source)
      (untabify (point-min) (point-max))
      (indent-region (point-min) (point-max) nil)
      (delete-trailing-whitespace)
      (write-file source))

Slow but works.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 10 22:41:39 2003

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

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