From: Andrei Rybak Date: Fri, 08 May 2020 16:57:51 GMT Subject: Re: [PATCH] rebase --autosquash: fix a potential segfault Message-ID: <4f2ddbba-a9ba-a96a-36c1-b233ea861575@gmail.com> In-Reply-To: <1a03a7b4-f436-83c5-f825-3b68c07785e9@iee.email> On 2020-05-08 18:43, Philip Oakley wrote: > On 07/05/2020 15:27, Johannes Schindelin wrote: > Is this ability to have a commit message `fixup! ` documented? > I've looked a few times in the past and didn't find it. The docs for > `git commit --fixup=` doesn't put the oid in the commit's subject line, > rather it puts the subject of the referent commit after the "fixup! ". > > Searching from a different direction I've just seen it is mentioned in > the v1.7.4 release notes. > > Would a doc fix to clarify this be appropriate or have I missed something? > > Philip Yes, it's documented in description of --autosquash: "A commit matches the `...` if the commit subject matches, or if the `...` refers to the commit's hash."