From: Jay Soffian Date: Thu, 17 Jun 2010 13:17:47 GMT Subject: Re: [PATCH] Allow hashes in git rebase --interactive --autosquash. Message-ID: In-Reply-To: <20100617125746.E86B42FC00@perkele> On Thu, Jun 17, 2010 at 8:55 AM, Peter Krefting wrote: > In addition to matching the "fixup!" and "squash!" commits to the commit > message, also match the commit hash. This allows a commit message like > "fixup! e83c5163316f89bfbde7d9ab23ca2e25604af290" to be detected as a > fixup commit. > > Signed-off-by: Peter Krefting > --- > > I actually misread the git-rebase manual page to think that this was how > "fixup!" and "squash!" was supposed to be used, and now I have so many > "fixup! " commits to rebase that I felt it worth it to implement > support for it... :-) Heh. I have this alias for creating my fixup commits: $ git help fixup `git fixup' is aliased to `!f() { git commit -m "$(git show -s --pretty='format:fixup! %s%n%nFixup for %h%n' "$@")"; }; f' :-) j.