On Thu, Aug 14, 2003 at 07:47:11AM -0700, Larry McVoy wrote: > ... > Indeed I have. And there is a reason that we have a policy at BitMover > where "formatting changes" are prohibited and we make people redo their > changesets until they get them right. > > In other words, you are welcome to write a revision control system > which can look through the formatting changes and give you the semantic > knowledge that you want. We'd love to see how it is done and then do > it in BitKeeper :)
You should allow for changes that are "formatting change only", with no actual code structural change. You could pass the results through stage 1 of gcc, and only allow it if the parsing tree is identical. I was originally going to suggest just passing it through "indent", but that would not come out right, if someone added braces to clarify a one-line conditional. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
