Re: [PATCH 2/2] user-manual: Document that "git merge" doesn't like uncommited changes.
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 16 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> "but not the working tree itself" is not incorrect per-se, but misses the
>> point. How about...
>>
>> A merge is made by combining the changes made in "branchname" and
>> the changes made up to the latest commit in your current branch
>> since their histories forke. The work tree is overwritten by the
>> result of the merge when this combining is done cleanly, or
>> overwritten by a half-merged results when this combining results
>> in conflicts. Therefore, ...
>
> Maybe better. OTOH, it reveals another problem: Your "the work tree is
> overwritten by ..." tend to imply that the result is not commited,
> while the normal case is indeed to create a merge commit
> automatically.
Fair enough. How about changing this part
>> since their histories forke. The work tree is overwritten by the
>> result of the merge when this combining is done cleanly, or
>> overwritten by a half-merged results when this combining results
to
The work tree is overwritten by the result of the
merge when this combining is done cleanly, and the result is
committed. Otherwise it is
overwritten by a half-merged results when this combining results?