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

3 messages from 2022-06-03 to 2022-06-03. Participants: Ian Molton, stefan.naewe@atlas-elektronik.com.
Thread: https://gitlist.dev/t/57950

## Ian Molton, 2022-06-03 13:58

Subject: BUG report: git-gui does not show commit message templates
Message-ID: <870137b1-9134-5791-d9fa-4826687e0781@mnementh.co.uk>
URL: https://gitlist.dev/e/870137b1-9134-5791-d9fa-4826687e0781%40mnementh.co.uk

```
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, 2022-06-03 14:36

Subject: AW: BUG report: git-gui does not show commit message templates
Message-ID: <dfec506780af46639ed67be364cd43cb@atlas-elektronik.com>
URL: https://gitlist.dev/e/dfec506780af46639ed67be364cd43cb%40atlas-elektronik.com
In-Reply-To: <870137b1-9134-5791-d9fa-4826687e0781@mnementh.co.uk>

```


> -----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, 2022-06-03 18:02

Subject: Re: AW: BUG report: git-gui does not show commit message templates
Message-ID: <d3689677-8a9a-a324-1a3a-2dab9f9390ba@mnementh.co.uk>
URL: https://gitlist.dev/e/d3689677-8a9a-a324-1a3a-2dab9f9390ba%40mnementh.co.uk
In-Reply-To: <dfec506780af46639ed67be364cd43cb@atlas-elektronik.com>

```
On 03/06/2022 15:36, stefan.naewe@atlas-elektronik.com wrote:
>>
>> 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

```
