Merge branch 'clang-format-script' into release

This commit is contained in:
Brad King 2016-06-30 16:13:46 -04:00
commit 48680ade09
1 changed files with 8 additions and 4 deletions

View File

@ -36,15 +36,19 @@ Example to format locally modified files staged for commit:
Utilities/Scripts/clang-format.bash --cached
Example to format the current topic:
Example to format files modified by the most recent commit:
git filter-branch \
--tree-filter "Utilities/Scripts/clang-format.bash --amend" \
master..
Utilities/Scripts/clang-format.bash --amend
Example to format all files:
Utilities/Scripts/clang-format.bash --tracked
Example to format the current topic:
git filter-branch \
--tree-filter "Utilities/Scripts/clang-format.bash --tracked" \
master..
'
die() {