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

Re: [RFC PATCH] blame: avoid failing if ignoreRevsFile does not exist

From
Ben Knoble <ben.knoble@gmail.com>
Date
Jul 3, 2025, 13:18 UTC
Message-ID
<93842D18-3051-4169-B314-AD5A1407575D@gmail.com>
In-Reply-To
<099c2a59-ac60-474b-a535-ec7dcb1f44f8@app.fastmail.com>
Show 14 quoted lines
> Le 3 juil. 2025 à 04:26, Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com> a écrit :
> 
> On Thu, Jul 3, 2025, at 10:18, Francesco Nicoletta Puzzillo wrote:
>> Setting ignoreRevsFile globally makes the blame command fail in
>> repositories that don't have the file present.
>> 
>> Check that the file exists before trying to parse it.
>> 
>> Signed-off-by: Francesco Nicoletta Puzzillo <francesco.nicolettap@amarulasolutions.com>
> 
> Relevant thread
> 
> https://lore.kernel.org/git/20210807202752.1278672-1-noah.pendleton@gmail.com/
> 
Indeed. IIRC there was some polish to do on Junio’s patches, which I intend to get to unless someone beats me to it ;)
Previous: Kristoffer Haugsbakk
Message 3 of 3 in “blame: avoid failing if ignoreRevsFile does not exist”
  1. blame: avoid failing if ignoreRevsFile does not existFrancesco Nicoletta Puzzillo, Jul 3, 2025
  2. Kristoffer HaugsbakkJul 3, 2025
  3. Ben KnobleJul 3, 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.