Eric Wong <e@xxxxxxxxx> writes: > Junio C Hamano <gitster@xxxxxxxxx> wrote: >> >> I think it is sensibleto give priority to the --in-reply-to option >> given from the command line over the in-file one. I am not sure if >> we want to drop references, though. Wouldn't it make more sense to >> just add what we got from the command line to what we read from the >> file? I dunno. > > You're right, existing References in the bodies should probably > be prepended to current ones, as their order should be > oldest-to-newest. If you were to go that way, it may also make sense to demote the original In-Reply-To you find in the file to an entry in the References list, if it does not already appear there. I didn't check the RFCs, but I think your original motivation is to ensure that there is not more than one messages to which the current message is replying to, iow, to ensure that there is only one message that is In-Reply-To, so appending would not be a good solution there.