summaryrefslogtreecommitdiff
path: root/builtin/read-tree.c
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2019-02-21 09:50:29 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-21 11:08:23 -0800
commit1ede45e44b3b3bef8598ca077a60a6483ede99ae (patch)
treef06608799c6abb6e249db915384cd6af73a46896 /builtin/read-tree.c
parentGit 2.20.1 (diff)
downloadtgif-1ede45e44b3b3bef8598ca077a60a6483ede99ae.tar.xz
merge-options.txt: correct wording of --no-commit option
The former wording implied that --no-commit would always cause the merge operation to "pause" and allow the user to make further changes and/or provide a special commit message for the merge commit. This is not the case for fast-forward merges, as there is no merge commit to create. Without a merge commit, there is no place where it makes sense to "stop the merge and allow the user to tweak changes"; doing that would require a full rebase of some sort. Since users may be unaware of whether their branches have diverged or not, modify the wording to correctly address fast-forward cases as well and suggest using --no-ff with --no-commit if the point is to ensure that the merge stops before completing. Reported-by: Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/read-tree.c')
0 files changed, 0 insertions, 0 deletions