diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-06-29 16:14:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-29 15:03:36 -0700 |
commit | 054a5aee6f3e8e90d96f7b3f76f5f55752561c59 (patch) | |
tree | 8bd12b3a439f6135c4d4168d9a7897360263f6d6 /t/t9126 | |
parent | sequencer: use skip_blank_lines() to find the commit subject (diff) | |
download | tgif-054a5aee6f3e8e90d96f7b3f76f5f55752561c59.tar.xz |
reset --hard: skip blank lines when reporting the commit subject
When there are blank lines at the beginning of a commit message, the
pretty printing machinery already skips them when showing a commit
subject (or the complete commit message). We shall henceforth do the
same when reporting the commit subject after the user called
git reset --hard <commit>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9126')
0 files changed, 0 insertions, 0 deletions