Thread (4 messages) 4 messages, 3 authors, 2025-05-01

Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config

From: Eric Sunshine <hidden>
Date: 2025-04-25 19:54:55

On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser
[off-list ref] wrote:>
I have many repos where I use .git-blame-ignore-revs,
but I cannot set it globally because then I get
fatal: could not open object name list: .git-blame-ignore-revs
so please make it either the default for `git blame` to check that file,
or add a "blame: ignoreMissingFile: true" option so I an set
[blame]
  ignoreRevsFile = .git-blame-ignore-revs
  ignoreMissingFile: true
and can use this feature without constantly having to think about it
Relevant threads:
https://lore.kernel.org/git/pull.1947.git.git.1745088194384.gitgitgadget@gmail.com/T/#u (local)
https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help