Re: [Libphidget-devel] More on indent
Status: Alpha
Brought to you by:
jstrohm
|
From: Jack S. <js...@ja...> - 2002-09-11 03:07:21
|
On Tue, 2002-09-10 at 21:38, Vadim Tkachenko wrote: > According to Jack Strohm: > > > > > [jstrohm@oishi libphidget]$ make indent > > > > indent: unknown option "-blank-lines-after-block-comments" > > > > I cut and paste the error, not sure where the single - came from. > > That's funny... > > > > > and then woops! all the source code files were empty :-( > > > > > > > > no problem, but need to add a something so that if indent dies it > > > > doesn't kill the original file. > > > > > > Will fix that. > > Fixed. > > > please, be bad to loose all changes before you check in cause you called > > "make indent" > > ??? You mean do *not* check in the *.c/cc/h files? Of course not, only > Makefile.am change was committed... > > Did I understand you properly? I was just commenting, that if it would be bad if any developer deleted his copy of the files (see problem you fixed above) right before he checked it in. > > > > > started over again, and set up the configuration like you said above, > > > > now if this is the style it's checked in as, and we can run indent-local > > > > to get our own preferences it's fine with me, but I personally don't > > > > care for it. > > > > > > So, would it be OK if I just commit it as it is with the above options and > > > merge it back to main branch? > > > > Yeah, as long as we are sure it won't flip/flop on us like the last > > style :-) > > :( Yes, that's exactly what I was hunting for. The set of options in > indent.rules that I've just committed produces the stable code - multiple > 'make indent && make' runs recompile the code just once. Looks good. make indent && make only compiles the first time. cool! |