-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Prevent #3679 from appearing in blame results #13311
Changes from all commits
233aaf1
c3c5064
72d14e9
7d6294a
60c70f1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
# Commits in this file will be removed from GitHub blame results. | ||
# | ||
# To use this file locally, use: | ||
# git blame --ignore-revs-file="path/to/.git-blame-ignore-revs" <files> | ||
# | ||
# or configure the `blame.ignoreRevsFile` option in your git config. | ||
# | ||
# If ignoring a pull request that was not squash merged, only the merge | ||
# commit needs to be put here. Child commits will be resolved from it. | ||
Comment on lines
+8
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't know enough about how git blame works here (https://github.com/git/git/blob/f9b95943b68b6b8ca5a6072f50a08411c6449b55/blame.c#L2582 for the brave), but I'm a little suspicious here. I would guess that the merge commit shows up in blame if and only if
Happy to leave this as-is though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The merge conflict unintuitively does not show up in I was mostly guessing that One can try it themselves with: merge commit:
vs.
and searching for |
||
|
||
# Run black (#3679). | ||
8b3d9b6b199abb87246f982d5db356f1966db925 | ||
|
||
# Black reformatting (#5482). | ||
32e7c9e7f20b57dd081023ac42d6931a8da9b3a3 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Prevent formatting changes of [#3679](https://github.com/matrix-org/synapse/pull/3679) from appearing in `git blame`. |
Uh oh!
There was an error while loading. Please reload this page.