[OpenAFS-devel] coding standards proposal

Russ Allbery rra@stanford.edu
Thu, 23 Jan 2003 13:27:20 -0800


Jim Rees <rees@umich.edu> writes:

> Expanding tabs is a possibility, but I'm not convinced it's necessary.

One of the nice things about eliminating tabs is that the first column
added by diff then doesn't ever mess up the indentation.

> It would require changes in the way we do things.  In particular, for me
> at least, "cvs commit" would have to do the expansion, because not all
> the code I check in comes from my editor, and my normal sanity checks
> (cvs diff) won't catch tabs.  Maybe this could be done on the cvs
> server?

You can do a check in commitinfo and make sure there aren't any tabs.  I'm
not sure if you can untabify from there as well.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>