From f363a81b753f00b6d52011e5d22b00bfc8fc9273 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Thu, 15 Sep 2022 21:04:40 +1000 Subject: [PATCH] Add .git-blame-ignore-revs --- .git-blame-ignore-revs | 4 ++++ README.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..e6e79e0408 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,4 @@ +# file-scoped namespaces and global usings +5528a2923ccc63d776c91994b0b17a2c3ad5be94 +d14c82023fc01a6fca99c42212cb3c97991fae9e +0e9a066195a100ae56b4ca49cee9927fb15e1482 \ No newline at end of file diff --git a/README.md b/README.md index 34466eccd7..cfa6fc7d67 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,12 @@ To clone ImageSharp locally, click the "Clone in [YOUR_OS]" button above or run git clone https://github.com/SixLabors/ImageSharp ``` +Then set the following config to ensure blame commands ignore mass reformatting commits. + +```bash +git config blame.ignoreRevsFile .git-blame-ignore-revs +``` + If working with Windows please ensure that you have enabled long file paths in git (run as Administrator). ```bash