diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-06-16 21:00:38 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-18 09:36:58 -0700 |
commit | 76fda6ebbc721e39ed70625206ba1dab5a9c1340 (patch) | |
tree | 1fcc61994bdafbbde4fd18d35ee5d5db782183a4 /diffcore-delta.c | |
parent | rebase --root: demonstrate a bug while amending root commit messages (diff) | |
download | tgif-76fda6ebbc721e39ed70625206ba1dab5a9c1340.tar.xz |
rebase --root: fix amending root commit messages
The code path that triggered that "BUG" really does not want to run
without an explicit commit message. In the case where we want to amend a
commit message, we have an *implicit* commit message, though: the one of
the commit to amend. Therefore, this code path should not even be
entered.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-delta.c')
0 files changed, 0 insertions, 0 deletions