|
Author:
{'name': 'Alexander Neben', 'email': 'alexander.neben@mongodb.com', 'username': 'IamXander'}
Message: SERVER-55605 Ignore reformatting in git blame
Branch: master
https://github.com/mongodb/mongo/commit/ca07672b037d0a8ad517dbfa3e75020c3d6076ae
|
Would this be opt-in? As in there would be a file like etc/git/clang-format-revs and you would opt in by passing git blame --ignore-revs-file=etc/git/clang-format-revs ?
That was my reading. I intended to change my local environment to more automatically opt-in.
|
|
judah.schvimer - Would this be opt-in? As in there would be a file like etc/git/clang-format-revs and you would opt in by passing git blame --ignore-revs-file=etc/git/clang-format-revs? If so I think that is a rather good idea. I would however be somewhat opposed to doing this in a way that was enabled by default when cloning the repo: the investigative tools we have need to tell the whole truth unless explicitly asked not to. Presumably individual users could also permanently opt-in by customizing their local git configuration.
|
|
The two refactors I'm aware of:
Accompanying ignore revs file:
9c2ed42daa8fbbef4a919c21ec564e2db55e8d60
|
134a4083953270e8a11430395357fb70a29047ad
|
|
Generated at Thu Feb 08 05:36:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.