Re: annoyance with .git-blame-ignore-revs - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: annoyance with .git-blame-ignore-revs
Date
Msg-id d8553ef6-fdb6-e84e-895f-96a59af4fa5d@dunslane.net
Whole thread Raw
In response to Re: annoyance with .git-blame-ignore-revs  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: annoyance with .git-blame-ignore-revs
List pgsql-hackers
On 2022-08-04 Th 20:35, Peter Geoghegan wrote:
> On Mon, Jul 11, 2022 at 12:30 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>> $ git blame configure
>> fatal: could not open object name list: .git-blame-ignore-revs
>>
>> My first workaround was to add empty .git-blame-ignore-revs in all
>> checkouts.  This was moderately ok (shrug), until after a recent `tig`
>> upgrade the empty file started to show up in the history as an untracked
>> file.
> Ping? Would be nice to get this done soon. I don't think that it
> requires a great deal of care. If I was doing this myself, I would
> probably make sure that the backbranch copies of the file won't
> reference commits from later releases. But even that probably doesn't
> matter; just backpatching the file from HEAD as-is wouldn't break
> anybody's workflow.
>
> Again, to reiterate: I see no reason to do anything on the
> backbranches here more than once.
>
> I mentioned already that somebody proposed a patch that fixes the
> problem at the git level, which seems to have stalled. Here is the
> discussion:
>
> https://public-inbox.org/git/xmqq5ywehb69.fsf@gitster.g/T/
>
> ISTM that we're working around what is actually a usability problem
> with git (imagine that!). I think that that's fine. Just thought that
> it was worth acknowledging it as such. We're certainly not the first
> people to run into this exact annoyance.



let's just backpatch the file and be done with it.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Melih Mutlu
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Next
From: Alvaro Herrera
Date:
Subject: Re: annoyance with .git-blame-ignore-revs