Subject: [PATCH v2 0/4] delete_ref: support reflog messages

From: Kyle Meyer <[email-masked]>
Date: Mon, 20 Feb 2017 20:10:31 -0500

Thanks to Junio and Peff for their feedback on v1.

  https://public-inbox.org/git/[email-masked]/T/#u

Changes from v1:

 * "msg" is now positioned as the first argument to delete_ref() to
   match update_ref().

   [email-masked]

 * A "delete by head" test case has been added for the update-ref
   change.

   [email-masked]

 * The added tests no longer send grep's output to /dev/null.

   [email-masked]

 * Renaming the current branch is represented by two entries in HEAD's
   log, both which reuse the log message passed to rename_ref().
   
   [email-masked],
   [email-masked]

 * Corrected a few places in the commit messages where "delete_refs"
   was written instead of "delete_ref".

Kyle Meyer (4):
  delete_ref: accept a reflog message argument
  update-ref: pass reflog message to delete_ref()
  rename_ref: replace empty message in HEAD's log
  branch: record creation of renamed branch in HEAD's log

 branch.c               |  5 +++--
 branch.h               |  3 ++-
 builtin/am.c           |  4 ++--
 builtin/branch.c       |  7 ++++---
 builtin/notes.c        |  4 ++--
 builtin/remote.c       |  4 ++--
 builtin/replace.c      |  2 +-
 builtin/reset.c        |  2 +-
 builtin/symbolic-ref.c |  2 +-
 builtin/tag.c          |  2 +-
 builtin/update-ref.c   |  2 +-
 fast-import.c          |  2 +-
 refs.c                 |  6 +++---
 refs.h                 |  7 ++++---
 refs/files-backend.c   | 10 +++++-----
 t/t1400-update-ref.sh  | 18 ++++++++++++++++++
 t/t3200-branch.sh      |  6 ++++++
 transport.c            |  2 +-
 18 files changed, 58 insertions(+), 30 deletions(-)

-- 
2.11.1