]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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

1  2 
builtin/reset.c

diff --cc builtin/reset.c
Simple merge