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>maint
parent
a85d1b6917
commit
2ae4fd7695
|
@ -59,7 +59,7 @@ finish_up_to_date () {
|
||||||
squash_message () {
|
squash_message () {
|
||||||
echo Squashed commit of the following:
|
echo Squashed commit of the following:
|
||||||
echo
|
echo
|
||||||
git log --no-merges ^"$head" $remote
|
git log --no-merges ^"$head" $remoteheads
|
||||||
}
|
}
|
||||||
|
|
||||||
finish () {
|
finish () {
|
||||||
|
|
Loading…
Reference in New Issue