git-commit-vandalism/refs
Kyle Meyer 893dbf5ba1 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 <peff@peff.net>
Signed-off-by: Kyle Meyer <kyle@kyleam.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-02-20 22:04:47 -08:00
..
files-backend.c rename_ref: replace empty message in HEAD's log 2017-02-20 22:04:47 -08:00
iterator.c
refs-internal.h refs: add option core.logAllRefUpdates = always 2017-01-31 10:01:24 -08:00