git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
D. Ben Knoble <ben.knoble@gmail.com>
Date
May 1, 2025, 18:00 UTC
Message-ID
<CALnO6CBXqZ76iovr6JQq439RTOR6E+B2sivKWEEFtBXMj2EZXQ@mail.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:
Show 20 quoted lines
>
> 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
Previous: Eric SunshineNext: Eric Sunshine
Message 3 of 4 in “Feature request: automatically read .git-blame-ignore-revs or allow global optional config”
  1. Michael GrosserApr 25, 2025
  2. Eric SunshineApr 25, 2025
  3. D. Ben KnobleMay 1, 2025
  4. Eric SunshineMay 1, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.