Re: How to rebase when some commit hashes are in some commit messages
On 13/10/2015 20:00, Mike Rappazzo wrote:
Show 7 quoted lines
> 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.