Hi,

>> "Amend Commit" incorrectly adds some garbage to the commit message. This can 
>> be reproduced as follows:
>> 1. Go to some git repo with a local change
>> 2. Choose "Edit" - "Amend Commit"
>> 3. Don't touch the commit message, jus hit "Ammend"
>>
>> Now check the new commit message. It is *not* the same as the old one, 
>> instead "on branch <name>" and
>> some file information has been added.
>> The reason seems to be that qgit does not correctly process the suggested 
>> message it gets from git,
>> removing too many "#". When I use git on the CLI, the lines that qgit adds 
>> start with a "#" and
>> are hence ignored by git.
>>
>> This is a regression, in earlier versions of git + qgit (like, a year ago or 
>> so), things worked
>> all right.
> I cannot reproduce this with git 1:2.8.0~rc3-1, can you recheck?

I just re-checked, the bug is still present.
This is with git 1:2.8.0~rc3-1 and qgit 2.5-2.

Maybe the locale is relevant?

$ env | grep -e LANG -e LC_
LC_NUMERIC=en_US.utf8
LC_MESSAGES=en_US.utf8
LANG=de_DE.utf8
GDM_LANG=de_DE.utf8

Kind regards,
Ralf

Reply via email to