Add format-my mode to clang_format.py to only format local changes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Platforms 2018-08-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Current buildscripts/clang_format.py offers a format command which formats all files known to git. While this works regardless of local git repo setup, it is slow because it has to look at ~3900 files.

      Performance can be improved by offering a new command that only looks at files that changed since the current branch has forked from origin/master.

              Assignee:
              Mark Benvenuto
              Reporter:
              Mark Benvenuto
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: