{"thread":{"id":"42953","subject":"[Git 2.9.2] diff inserted by commit.verbose not removed when rewording","startedAt":"2016-07-28T22:20:07Z","lastAt":"2016-07-28T22:20:07Z","messageCount":1,"participants":["Thijs van Dien"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"292461","messageId":"539E05B5-13A5-4343-9296-19447BE14F14@vandien.net","threadId":"42953","inReplyTo":null,"subject":"[Git 2.9.2] diff inserted by commit.verbose not removed when rewording","fromName":"Thijs van Dien","fromEmail":"thijs@vandien.net","sentAt":"2016-07-28T22:19:57Z","receivedAt":"2016-07-28T22:20:07Z","isPatch":false,"sender":{"key":"thijs@vandien.net","avatar":null},"body":"I'm just a random Git user, not very familiar with the Git development process and so on, so please by gentle.\n\nSetup:\n- OS X 10.11.6\n- Git 2.9.2 via Homebrew\n\nCuriosity triggered me to enable 'commit.verbose' globally with 'git config --global commit.verbose true'. I have not configured it on the repo. It works as expected when committing; the diff is appended to the commit message template, yet doesn't make it into the commit when untouched. Today I noticed that when I then rebase interactively ('git rebase -i HEAD~2'; whatever) and reword a specific commit, the diff that is appended then is _not_ removed and _does_ make it into the commit. The template looks OK ('------------------------ >8 ------------------------' and so on is there) but it seems that the logic to actually cut along that line is not executed then.\n\nI'm not sure what more I can say about it."}]}