Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STYLE: Improve attribution by ignoring bulk formatting #1970

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Aug 17, 2023

This file lists revisions that should be ignored when considering attribution for the actual code written. Code style changes should not be considered as modifications with regards to attribution.

To see clean and meaningful blame information.

$ git blame important.py --ignore-revs-file .git-blame-ignore-revs

To configure git to automatically ignore revisions listed in a file on every call to git blame.

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

Based on InsightSoftwareConsortium/ITK@3a969e5 and Slicer/Slicer@ec82a93.

This file lists revisions that should be ignored when considering
attribution for the actual code written. Code style changes should
not be considered as modifications with regards to attribution.

To see clean and meaningful blame information.
$ git blame important.py --ignore-revs-file .git-blame-ignore-revs

To configure git to automatically ignore revisions listed in a file on every call to git blame.
$ git config blame.ignoreRevsFile .git-blame-ignore-revs

Based on InsightSoftwareConsortium/ITK@3a969e5
and Slicer/Slicer@ec82a93.

Co-authored-by: James Butler <[email protected]>
Co-authored-by: Hans Johnson <[email protected]>
@jcfr
Copy link
Member Author

jcfr commented Aug 17, 2023

Before After
image image

@jcfr jcfr merged commit 887e4c2 into Slicer:main Aug 17, 2023
1 check passed
@jcfr jcfr deleted the improve-attribution branch August 17, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant