threads / bug / 57950

BUG report: git-gui does not show commit message templates

Subject: BUG report: git-gui does not show commit message templates

## tl;dr

3 messages between Jun 3, 2022 and Jun 3, 2022.

replies: 2people: 2as markdown or json

Ian Molton· Jun 3, 2022, 13:58 UTC · lore
Hi,
Please CC: me in replies, I'm not a list member.
I've just found that git-gui does not show commit templates.

I've checked and found this commit: 627c87f84c157885d587125cf0c73591a0e3ee7a

which suggests to me that the issue should have been fixed, but it clearly has not.

I've removed git-gui from the system (Ubuntu package), and compiled the latest mainline git-gui (as of today), and the problem remains.

(In fact, worse, its now auto-filling in my signed-off-by: line rather than leaving the commit message blank (or preferably, showing the template).

-Ian
stefan.naewe@atlas-elektronik.com· Jun 3, 2022, 14:36 UTC · re: Ian Molton · lore

AW: BUG report: git-gui does not show commit message templates

Show 20 quoted lines
> -----Ursprüngliche Nachricht-----
> Von: Ian Molton <git-ian@mnementh.co.uk>
> Gesendet: Freitag, 3. Juni 2022 15:58
> An: git@vger.kernel.org
> Cc: Ian Molton <git-ian@mnementh.co.uk>
> Betreff: BUG report: git-gui does not show commit message templates
> 
> Hi,
> 
> Please CC: me in replies, I'm not a list member.
> 
> I've just found that git-gui does not show commit templates.
> 
> I've checked and found this commit:
> 627c87f84c157885d587125cf0c73591a0e3ee7a
> 
> which suggests to me that the issue should have been fixed, but it clearly has not.
> 
> I've removed git-gui from the system (Ubuntu package), and compiled the latest
> mainline git-gui (as of today), and the problem remains.
It seems that git gui wants to load the template file from (or relative to) the .git directory.
> (In fact, worse, its now auto-filling in my signed-off-by: line rather than leaving the
> commit message blank (or preferably, showing the template).
Stefan
Ian Molton· Jun 3, 2022, 18:02 UTC · re: stefan.naewe@atlas-elektronik.com · lore

Re: AW: BUG report: git-gui does not show commit message templates

On 03/06/2022 15:36, stefan.naewe@atlas-elektronik.com wrote:
Show 16 quoted lines
>>
>> Hi,
>>
>> Please CC: me in replies, I'm not a list member.
>>
>> I've just found that git-gui does not show commit templates.
>>
>> I've checked and found this commit:
>> 627c87f84c157885d587125cf0c73591a0e3ee7a
>>
>> which suggests to me that the issue should have been fixed, but it clearly has not.
>>
>> I've removed git-gui from the system (Ubuntu package), and compiled the latest
>> mainline git-gui (as of today), and the problem remains.
> 
> It seems that git gui wants to load the template file from (or relative to) the .git directory.
Hi,
I tried copying the file into .git/ and ~/ but it still did not pick it up.
-Ian

← back to recent threads