Skip to content
Snippets Groups Projects
  1. Oct 05, 2012
    • Alessandro Rubini's avatar
      Run ./scripts/Lindent on all .c and .h files · e625cbd9
      Alessandro Rubini authored
      
      This is massive: 4k lines changed (but only 840 if you ignore
      space-only changes).  In this case "git blame -w" won't always find
      the right patch, and it may fall on this patch -- because those
      800 lines changed in content too.
      
      This has been done with
      
         find . -name '*.[ch]' | xargs -n 1 ./scripts/Lindent
      
      Statistics: all changes and ignoring blank space:
      
         morgana% git diff --stat HEAD~1 | tail -1
          77 files changed, 3774 insertions(+), 3709 deletions(-)
         morgana% git diff -w --stat HEAD~1 | tail -1
          61 files changed, 894 insertions(+), 829 deletions(-)
      
      However, after this step I hand-fixed some very ugly long expressions
      (leaving them long: no content change at all is there).
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      e625cbd9
  2. Jun 13, 2012