summaryrefslogtreecommitdiff
path: root/xdiff/xutils.h
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-06-16 21:00:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-18 09:36:58 -0700
commit76fda6ebbc721e39ed70625206ba1dab5a9c1340 (patch)
tree1fcc61994bdafbbde4fd18d35ee5d5db782183a4 /xdiff/xutils.h
parentrebase --root: demonstrate a bug while amending root commit messages (diff)
downloadtgif-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 'xdiff/xutils.h')
0 files changed, 0 insertions, 0 deletions