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 #4743

Merged
merged 3 commits into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# If a commit modifies a ton of files and doesn't really contribute to the
# output of git-blame, please add it here
#
# Don't add commits from the same PR you are creating. We squash PRs into a
# single commit, so references to those commits will be lost
#
# 2018 - changed to 80 max column
f71ff08e686ae76c3dd4084d0f05f27ba9b3fdcb
#
# 2018 - added brace wrapping after if and for
e259b9e39f46f3cb0e4838c988d4f320a03dfaa4
#
# 2019 - Normalize line endings in already existing files
b06eb9df835c25154899fbcf43e9b37addcea1b1
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ git submodule update --init --recursive

[Building on FreeBSD](../master/BUILDING_ON_FREEBSD.md)

## Git blame

This project has big commits in the history which for example update all line
endings. To improve the output of git-blame, consider setting:

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

This will ignore all revisions mentioned in the [`.git-blame-ignore-revs`
file](./.git-blame-ignore-revs). GitHub does this by default.

## Code style

The code is formatted using clang format in Qt Creator. [.clang-format](src/.clang-format) contains the style file for clang format.
Expand Down