Simon Josefsson wrote: > Is there a need to modify how 'indent' works here? Or document how to > make indent do the right thing? When making substantial changes to > gnulib code, I tend to run 'indent' on the code to make sure I'm > following the right style -- but that would add tabs, wouldn't it?
Sure: use --no-tabs. >From coreutils' HACKING: Ensure that your changes are indented properly. =============================================== Format the code the way GNU indent does. In a file with the "indent-tabs-mode: nil" directive at the end, running "indent --no-tabs" should induce no change. With other files, there will be some existing differences. Try not to add any more.