bneradt commented on issue #8934: URL: https://github.com/apache/trafficserver/issues/8934#issuecomment-1171571612
@bryancall thought of using `-mmin` from find to detect what files are changing: ``` # Clone, autoreconf, make. # Wait more than 5 minutes. # Now, find all the files modified in the last 5 minutes in the repo: find . -mmin -5 # Should show nothing. # Now run the clang-format target, followed by the above find command: make -j5 clang-format && echo -------------------- && find . -mmin -5 # ... ./plugins/certifier/certifier.cc make[1]: Leaving directory '/home/bneradt/src/ts_asf_master_fix_clang_format_make_target' -------------------- ./.git ./.git/fmt ./.git/fmt/20200514 ./.git/fmt/20200514/clang-format-20200514.tar.bz2 ./.git/fmt/20200514/sha1 ./include ./include/ink_autoconf.h.in ./include/ink_autoconf.h ``` The `.git/fmt` directory changes are simply the changes to install clang-format. That's not interesting. But the fact that clang-format is modifying `ink_autoconf.h.in` and `ink_autoconf.h` is interesting. I'm not sure why that file is being modified despite making no changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
