{"thread":{"id":"63353","subject":"Feature request: automatically read .git-blame-ignore-revs or allow global optional config","startedAt":"2025-04-25T18:42:07Z","lastAt":"2025-05-01T18:29:08Z","messageCount":4,"participants":["Michael Grosser","Eric Sunshine","D. Ben Knoble"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"516825","messageId":"CAAms34P=fuow0kvxvQKxbr0jhqjnBu=VsP=xAxDieG-QA2ocVQ@mail.gmail.com","threadId":"63353","inReplyTo":null,"subject":"Feature request: automatically read .git-blame-ignore-revs or allow global optional config","fromName":"Michael Grosser","fromEmail":"grosser.michael@gmail.com","sentAt":"2025-04-25T18:41:30Z","receivedAt":"2025-04-25T18:42:07Z","isPatch":false,"sender":{"key":"grosser.michael@gmail.com","avatar":null},"body":"I have many repos where I use .git-blame-ignore-revs,\nbut I cannot set it globally because then I get\n```\nfatal: could not open object name list: .git-blame-ignore-revs\n```\nso please make it either the default for `git blame` to check that file,\nor add a \"blame: ignoreMissingFile: true\" option so I an set\n```\n[blame]\n  ignoreRevsFile = .git-blame-ignore-revs\n  ignoreMissingFile: true\n```\nand can use this feature without constantly having to think about it\n"},{"id":"516839","messageId":"CAPig+cQ6L60gRGZqapkVdGjo_C_k4Wi1miK8nv5=AZeNXnK_4Q@mail.gmail.com","threadId":"63353","inReplyTo":"CAAms34P=fuow0kvxvQKxbr0jhqjnBu=VsP=xAxDieG-QA2ocVQ@mail.gmail.com","subject":"Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2025-04-25T19:54:42Z","receivedAt":"2025-04-25T19:54:55Z","isPatch":false,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser\n<grosser.michael@gmail.com> wrote:>\n> I have many repos where I use .git-blame-ignore-revs,\n> but I cannot set it globally because then I get\n> ```\n> fatal: could not open object name list: .git-blame-ignore-revs\n> ```\n> so please make it either the default for `git blame` to check that file,\n> or add a \"blame: ignoreMissingFile: true\" option so I an set\n> ```\n> [blame]\n>   ignoreRevsFile = .git-blame-ignore-revs\n>   ignoreMissingFile: true\n> ```\n> and can use this feature without constantly having to think about it\n\nRelevant threads:\nhttps://lore.kernel.org/git/pull.1947.git.git.1745088194384.gitgitgadget@gmail.com/T/#u\nhttps://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u\n"},{"id":"517055","messageId":"CALnO6CBXqZ76iovr6JQq439RTOR6E+B2sivKWEEFtBXMj2EZXQ@mail.gmail.com","threadId":"63353","inReplyTo":"CAPig+cQ6L60gRGZqapkVdGjo_C_k4Wi1miK8nv5=AZeNXnK_4Q@mail.gmail.com","subject":"Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config","fromName":"D. Ben Knoble","fromEmail":"ben.knoble@gmail.com","sentAt":"2025-05-01T18:00:15Z","receivedAt":"2025-05-01T18:00:28Z","isPatch":false,"sender":{"key":"ben.knoble@gmail.com","avatar":"https://avatars.githubusercontent.com/u/22802209?v=4"},"body":"On Fri, Apr 25, 2025 at 3:55 PM Eric Sunshine <sunshine@sunshineco.com> wrote:\n>\n> On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser\n> <grosser.michael@gmail.com> wrote:>\n> > I have many repos where I use .git-blame-ignore-revs,\n> > but I cannot set it globally because then I get\n> > ```\n> > fatal: could not open object name list: .git-blame-ignore-revs\n> > ```\n> > so please make it either the default for `git blame` to check that file,\n> > or add a \"blame: ignoreMissingFile: true\" option so I an set\n> > ```\n> > [blame]\n> >   ignoreRevsFile = .git-blame-ignore-revs\n> >   ignoreMissingFile: true\n> > ```\n> > and can use this feature without constantly having to think about it\n>\n> Relevant threads:\n> https://lore.kernel.org/git/pull.1947.git.git.1745088194384.gitgitgadget@gmail.com/T/#u\n> https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u\n\nDid that second set of patches ever go anywhere? It seems similar to\nwhat Junio proposed in the first linked thread and possibly worth\nresurrecting. (A log --grep :(optional) didn't find anything.)\n\n-- \nD. Ben Knoble\n"},{"id":"517059","messageId":"CAPig+cQUycUyto6=cDadaCahzDBQ_GDngAEEtK0bshLr15ok8g@mail.gmail.com","threadId":"63353","inReplyTo":"CALnO6CBXqZ76iovr6JQq439RTOR6E+B2sivKWEEFtBXMj2EZXQ@mail.gmail.com","subject":"Re: Feature request: automatically read .git-blame-ignore-revs or allow global optional config","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2025-05-01T18:28:56Z","receivedAt":"2025-05-01T18:29:08Z","isPatch":false,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Thu, May 1, 2025 at 2:00 PM D. Ben Knoble <ben.knoble@gmail.com> wrote:\n> On Fri, Apr 25, 2025 at 3:55 PM Eric Sunshine <sunshine@sunshineco.com> wrote:\n> > On Fri, Apr 25, 2025 at 2:42 PM Michael Grosser\n> > <grosser.michael@gmail.com> wrote:>\n> > > so please make it either the default for `git blame` to check that file,\n> > > or add a \"blame: ignoreMissingFile: true\" option so I an set\n> >\n> > Relevant threads:\n> > https://lore.kernel.org/git/pull.1947.git.git.1745088194384.gitgitgadget@gmail.com/T/#u\n> > https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u\n>\n> Did that second set of patches ever go anywhere? It seems similar to\n> what Junio proposed in the first linked thread and possibly worth\n> resurrecting. (A log --grep :(optional) didn't find anything.)\n\nThe patches Junio submitted[1] did not go anywhere. The topic sat in\nhis tree for several \"What's Cooking\" reports and then he dropped it\nbecause it received no response from reviewers[2]. I agree that it\ncould be a useful enhancement if resurrected.\n\n[1]: https://lore.kernel.org/git/20241014204427.1712182-1-gitster@pobox.com/T/#u\n[2]: https://lore.kernel.org/git/CAPig+cT1BNXRotrz=rnVgvhQjZZwYgsAOQMonHFFTPfK-C0LOQ@mail.gmail.com/\n"}]}