commit d4331337c16d79089a4d73dcf68d13eaf565c39b from: Stefan Sperling via: Thomas Adam date: Tue Jul 12 22:07:11 2022 UTC condense info about histedit mesg command being valid only with pick or edit commit - 8ea72c47a2077c52fad27872183808829d76c4d8 commit + d4331337c16d79089a4d73dcf68d13eaf565c39b 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.