On Fri, Aug 11, 2017 at 10:52:37AM -0700, Brandon Williams wrote: > On 08/09, Stefan Beller wrote: > > On Wed, Aug 9, 2017 at 3:53 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote: > > > > > I would think based on these options, a pre commit hook can be > > > written that formats precisely the touched lines of code of each file. > > > > I did not search enough, "clang-tidy-diff.py --fix" should be all that is needed > > I believe clang-tidy is different from clang-format am I mistaken? Yeah, I just dug in the archive. The script I ran way back when was actually clang-format-diff. -Peff