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

Add .git-blame-ignore-revs to ignore reformatting #37

Merged

Conversation

cary-ilm
Copy link
Member

@cary-ilm cary-ilm commented Aug 6, 2020

Use this file with git-blame to ignore commits that have reformatted
old code according to the new clang-format style:

git blame --ignore-revs-file .git-blame-ignore-revs Imath/ImathVec.h

This helps preserve the old revision history, or at least makes it
more easily accessible. Note that this requires git version 2.23 or
greater.

Also consider adding this to your git config:

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

Signed-off-by: Cary Phillips cary@ilm.com

Use this file with git-blame to ignore commits that have reformatted
old code according to the new clang-format style:

  git blame --ignore-revs-file .git-blame-ignore-revs Imath/ImathVec.h

This helps preserve the old revision history, or at least makes it
more easily accessible.  Note that this requires git version 2.23 or
greater.

Also consider adding this to your git config:

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

Signed-off-by: Cary Phillips <cary@ilm.com>
@oxt3479 oxt3479 merged commit 4ac1b5f into AcademySoftwareFoundation:master Aug 10, 2020
@cary-ilm cary-ilm deleted the git-blame-ignore-revs branch August 10, 2020 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants