Skip to content

style: Improve attribution by ignoring bulk formatting #397

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

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented May 22, 2025

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`

Adapted from InsightSoftwareConsortium/ITK@3a969e556

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`
```

Adapted from InsightSoftwareConsortium/ITK@3a969e556
@jcfr
Copy link
Contributor Author

jcfr commented May 22, 2025

Working toward addressing:

@jcfr jcfr enabled auto-merge (rebase) May 22, 2025 21:29
@jcfr jcfr merged commit ba66568 into python-cmake-buildsystem:master May 22, 2025
24 checks passed
@jcfr jcfr deleted the improve-attribution-adding-git-blame-ignore-revs branch May 22, 2025 21:37
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