mirror of
https://github.com/git/git.git
synced 2024-11-19 02:04:06 +01:00
git-merge: fix faulty SQUASH_MSG
Only the first 'remote' head is currently specified as an argument to 'git log' when generating a SQUSH_MSG, which makes the generated message fail to mention every commit involved in the merge. This fixes the problem. Noticed-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
a85d1b6917
commit
2ae4fd7695
@ -59,7 +59,7 @@ finish_up_to_date () {
|
||||
squash_message () {
|
||||
echo Squashed commit of the following:
|
||||
echo
|
||||
git log --no-merges ^"$head" $remote
|
||||
git log --no-merges ^"$head" $remoteheads
|
||||
}
|
||||
|
||||
finish () {
|
||||
|
Loading…
Reference in New Issue
Block a user