Skip to content

[stable30] chore: add .git-blame-ignore-revs - #48282

Merged
provokateurin merged 1 commit into
stable30from
chore/noid/git-blame-ignore-revs
Sep 23, 2024
Merged

[stable30] chore: add .git-blame-ignore-revs#48282
provokateurin merged 1 commit into
stable30from
chore/noid/git-blame-ignore-revs

Conversation

@kesselb

@kesselbkesselb commented Sep 23, 2024

Copy link
Copy Markdown
Contributor
  • Resolves: "fatal: could not open object name list: .git-blame-ignore-revs"

Summary

If you enabled git config blame.ignoreRevsFile .git-blame-ignore-revs and checkout an older branch without the file an error "fatal: could not open object name list: .git-blame-ignore-revs" is shown.

There's no way to tell git that a missing file is okay; therefore we need an empty file.

TODO

  • CI
  • Review

Checklist

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

@provokateurin

Copy link
Copy Markdown
Member

Maybe also backport it to even older stable branches?

@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable27

@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable26

@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable25

@kesselb

Copy link
Copy Markdown
ContributorAuthor

/backport to stable24

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@kesselb@provokateurin@nickvergessen