Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Apr 25, 2025, 19:54 UTC
- Message-ID
- <CAPig+cQ6L60gRGZqapkVdGjo_C_k4Wi1miK8nv5=AZeNXnK_4Q@mail.gmail.com>
- In-Reply-To
- <CAAms34P=fuow0kvxvQKxbr0jhqjnBu=VsP=xAxDieG-QA2ocVQ@mail.gmail.com>
On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser <grosser.michael@gmail.com> wrote:>
Show 13 quoted lines
> 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 https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u