Several improvements to lb-format
based on user feedback, I made several improvements to lb-format (apart from minor improvements/fixes)
- try to ensure that a
.clang-formatfile is present- if not found try to create it in the topdir of the git project, if any
- added mode to format all formattable files (both for
--format-patchor in-place reformatting) - added a
--dry-runoption to just show which files would be modified - modified
--format-patchto produce the patch file without modifying any file - support stdout as
--format-patchdestination - added
--pipemode to format from stdin to stdout
CC: @jonrob