commit 83b70ce85c5a9e777deb2c3924b8a41f5542e263 from: Stefan Sperling date: Tue Jul 12 18:55:01 2022 UTC condense info about histedit mesg command being valid only with pick or edit commit - f1e5aff40c5f42ab6fd83a2fb41ca0d10b3b21c9 commit + 83b70ce85c5a9e777deb2c3924b8a41f5542e263 blob - 8f34c674327a0a9472cf39a0e7aa5110ac9cdf85 blob + 18ea1f39db2ee9d2992fcae4a968e7e6792aa130 --- got/got.1 +++ got/got.1 @@ -2105,15 +2105,14 @@ merged into the work tree interrupt the histedit opera .It fold Ar commit Ta Combine the specified commit with the next commit listed further below that will be used. .It drop Ar commit Ta Remove this commit from the edited history. -.It mesg Oo Ar log-message Oc Ta Create a new log message for the commit -listed on the previous line of the histedit script. +.It mesg Oo Ar log-message Oc Ta Create a new log message for the commit of +a preceding pick or edit command on the previous line of the histedit script. The optional .Ar log-message argument provides a new single-line log message to use. If the .Ar log-message argument is omitted, open an editor where a new log message can be written. -Can only be used immediately after a pick or edit command. .El .Pp Every commit in the history being edited must be mentioned in the script.