From: Francois-Xavier Le Bail Date: Thu, 15 Oct 2015 08:12:41 GMT Subject: Re: How to rebase when some commit hashes are in some commit messages Message-ID: <561F5FF9.3070906@orange.fr> In-Reply-To: On 13/10/2015 20:00, Mike Rappazzo wrote: > It seems reasonable that this could be added as a feature of > interactive rebase. The todo list could be automatically adjusted to > "reword" for those commits which are referring to other commits within > the same rebase. As each commit is re-written, a mapping could be > kept of old sha1 -> new sha1. Then when one of the reworded commits > is being applied, the old sha1 -> new sha1 mapping could be used to > add a line to the $COMMIT_MSG. Even for non-interactive rebase, it could work.