Skip to content

Commit

Permalink
Bug #27414321: CLANG-FORMAT EVERYTHING
Browse files Browse the repository at this point in the history
Give the right --assume-filename= option to the suggested .gitconfig
hook, so that it knows which .h file to put at the top if it is not
put into its own header block.
  • Loading branch information
Steinar H. Gunderson committed Feb 5, 2018
1 parent 36a881f commit 66ff0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# git config --local include.path ../.gitconfig
#
[filter "codeformat"]
clean = clang-format --style=file
clean = clang-format --assume-filename=%f --style=file
[merge]
renormalize = true

0 comments on commit 66ff0b0

Please sign in to comment.