Re: git merge branch --no-commit does commit fast forward merges
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Apr 17, 2016, 23:52 UTC
- Message-ID
- <CA+P7+xqpqc1Km842QF_NwXUzjFVTQCwmQU3L12EakDjzMTFk2w@mail.gmail.com>
- In-Reply-To
- <874mb0kkkk.fsf@gmail.com>
On Sun, Apr 17, 2016 at 2:10 PM, Christoph Paulik <cpaulik@gmail.com> wrote:
Show 15 quoted lines
> > Hi Git Mailinglist, > git merge branch --no-commit does commit fast forward merges leaving users > no way to change the merge results. The command only works as expected when > also adding the --no-ff flag. Looking at the help text of the --no-commit > flag I think that this might be a unintended. > I've tested this on git 2.8.0. > > This bug was first reported to magit > (https://github.com/magit/magit/issues/2620) whose maintainer then suggested > that it might be a git bug. > > Best regards, > Christoph >
To be fair, the user can undo it with "git reset HEAD@{1}" I believe?Thanks, Jake