Merge branch 'tg/reset-hard-show-head-with-pretty'
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 22:55:45 +0000 (14:55 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Feb 2018 22:55:45 +0000 (14:55 -0800)
commite6b4a549c3b2189a8cbd154ee0a3dac511061842
tree8ad4d52a67c0ad1688913cc57e140580eb1b4fba
parentab66fc2705b35833582d74a8cd90ac0cf7586f89
parent1cf823fb68cae95fa1887e9eaa314c2b6e619e09
Merge branch 'tg/reset-hard-show-head-with-pretty'

The way "git reset --hard" reports the commit the updated HEAD
points at is made consistent with the way how the commit title is
generated by the other parts of the system.  This matters when the
title is spread across physically multiple lines.

* tg/reset-hard-show-head-with-pretty:
  reset --hard: make use of the pretty machinery
builtin/reset.c