From: Kyle Meyer Date: Tue, 21 Feb 2017 01:10:34 +0000 (-0500) Subject: rename_ref: replace empty message in HEAD's log X-Git-Tag: v2.13.0-rc0~155^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/893dbf5ba16c47c7284209bc6c527195f368ee35?ds=inline;hp=893dbf5ba16c47c7284209bc6c527195f368ee35 rename_ref: replace empty message in HEAD's log When the current branch is renamed, the deletion of the old ref is recorded in HEAD's log with an empty message. Now that delete_ref() accepts a reflog message, provide a more descriptive message by passing along the log message that is given to rename_ref(). The next step will be to extend HEAD's log to also include the second part of the rename, the creation of the new branch. Helped-by: Jeff King Signed-off-by: Kyle Meyer Signed-off-by: Junio C Hamano ---