itwinjs-core icon indicating copy to clipboard operation
itwinjs-core copied to clipboard

ignore bulk EOL change when doing git blame on GitHub

Open aruniverse opened this issue 3 years ago • 2 comments
trafficstars

add .git-blame-ignore-revs file which allows you to list commits to ignore. right now only ignoring the EOL change from a few months ago

GH should auto pick up this file and ignore the rev when doing git blame, see

And if you want to configure it locally to do so, run

git config blame.ignoreRevsFile .git-blame-ignore-revs

aruniverse avatar Aug 16 '22 13:08 aruniverse

I know @wgoehrig looked into doing this a while ago but didn't for some reason... I'm trying to recall why that was.

calebmshafer avatar Sep 06 '22 21:09 calebmshafer

I know @wgoehrig looked into doing this a while ago but didn't for some reason... I'm trying to recall why that was.

yep, in this pr: https://github.com/iTwin/itwinjs-core/pull/3382

the only motivation for this pr, was you can ignore the eol change pr on github blames. locally you could choose not to use this if you didnt want to

aruniverse avatar Sep 06 '22 21:09 aruniverse