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

4 messages from 2025-04-25 to 2025-05-01. Participants: Michael Grosser, Eric Sunshine, D. Ben Knoble.
Thread: https://gitlist.dev/t/63353

## Michael Grosser, 2025-04-25 18:41

Subject: Feature request: automatically read .git-blame-ignore-revs or allow global optional config
Message-ID: <CAAms34P=fuow0kvxvQKxbr0jhqjnBu=VsP=xAxDieG-QA2ocVQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAAms34P%3Dfuow0kvxvQKxbr0jhqjnBu%3DVsP%3DxAxDieG-QA2ocVQ%40mail.gmail.com

```
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

```

## Eric Sunshine, 2025-04-25 19:54

Subject: Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config
Message-ID: <CAPig+cQ6L60gRGZqapkVdGjo_C_k4Wi1miK8nv5=AZeNXnK_4Q@mail.gmail.com>
URL: https://gitlist.dev/e/CAPig%2BcQ6L60gRGZqapkVdGjo_C_k4Wi1miK8nv5%3DAZeNXnK_4Q%40mail.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:>
> 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

```

## D. Ben Knoble, 2025-05-01 18:00

Subject: Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config
Message-ID: <CALnO6CBXqZ76iovr6JQq439RTOR6E+B2sivKWEEFtBXMj2EZXQ@mail.gmail.com>
URL: https://gitlist.dev/e/CALnO6CBXqZ76iovr6JQq439RTOR6E%2BB2sivKWEEFtBXMj2EZXQ%40mail.gmail.com
In-Reply-To: <CAPig+cQ6L60gRGZqapkVdGjo_C_k4Wi1miK8nv5=AZeNXnK_4Q@mail.gmail.com>

```
On Fri, Apr 25, 2025 at 3:55 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
>
> On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser
> <grosser.michael@gmail.com> 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
> https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u

Did that second set of patches ever go anywhere? It seems similar to
what Junio proposed in the first linked thread and possibly worth
resurrecting. (A log --grep :(optional) didn't find anything.)

-- 
D. Ben Knoble

```

## Eric Sunshine, 2025-05-01 18:28

Subject: Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config
Message-ID: <CAPig+cQUycUyto6=cDadaCahzDBQ_GDngAEEtK0bshLr15ok8g@mail.gmail.com>
URL: https://gitlist.dev/e/CAPig%2BcQUycUyto6%3DcDadaCahzDBQ_GDngAEEtK0bshLr15ok8g%40mail.gmail.com
In-Reply-To: <CALnO6CBXqZ76iovr6JQq439RTOR6E+B2sivKWEEFtBXMj2EZXQ@mail.gmail.com>

```
On Thu, May 1, 2025 at 2:00 PM D. Ben Knoble <ben.knoble@gmail.com> wrote:
> On Fri, Apr 25, 2025 at 3:55 PM Eric Sunshine <sunshine@sunshineco.com> wrote:
> > On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser
> > <grosser.michael@gmail.com> wrote:>
> > > 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
> >
> > 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
>
> Did that second set of patches ever go anywhere? It seems similar to
> what Junio proposed in the first linked thread and possibly worth
> resurrecting. (A log --grep :(optional) didn't find anything.)

The patches Junio submitted[1] did not go anywhere. The topic sat in
his tree for several "What's Cooking" reports and then he dropped it
because it received no response from reviewers[2]. I agree that it
could be a useful enhancement if resurrected.

[1]: https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u
[2]: https://lore.kernel.org/git/CAPig+cT1BNXRotrz=rnVgvhQjZZwYgsAOQMonHFFTPfK-C0LOQ@mail.gmail.com/

```
