apt-sim / AdePT

Accelerated demonstrator of electromagnetic Particle Transport
Apache License 2.0
25 stars 34 forks source link

clang-format entire codebase #278

Closed drbenmorgan closed 8 months ago

drbenmorgan commented 8 months ago

Another maintenance commit following the creation of the AdePT library structure, simply applying the current clang-format settings to all source code. Though it's a large commit, we can use Git's blame.ignoreRevsFile functionality:

and locally using:

git config --global blame.ignoreRevsFile .git-blame-ignore-revs
git config --global blame.markIgnoredLines true
git config --global blame.markUnblamableLines true

to avoid later confusion when looking at changes. The needed .git-blame-ignore-revs file is best added in a new PR after this is merged as the commit hash to ignore may not be know until then.

This can be used in future when/if we change the style.

phsft-bot commented 8 months ago

Can one of the admins verify this patch?