Re: pull.rebase config vs. --ff-only on command line
- From
Elijah Newren <newren@gmail.com>
- Date
- Jul 16, 2021, 15:03 UTC
- Message-ID
- <CABPp-BEHZcfZNL+PG1vmqXGf4Qs3eoULb4NDDgbmOB30HzJu_Q@mail.gmail.com>
- In-Reply-To
- <c62933fb-96b2-99f5-7169-372f486f6e39@aixigo.com>
On Fri, Jul 16, 2021 at 7:52 AM Matthias Baumgarten <matthias.baumgarten@aixigo.com> wrote:
Show 14 quoted lines
> > Hi, > > this is my first time contacting you guys and girls so I hope this mail > achieves the expected standard. I've discovered the following behaviour > of git: > > If pull.rebase is configured to true and git pull --ff-only is executed > it seems like the config wins, i.e. issuing "Successfully rebased and > updated refs/heads/...", which is not what I would expect. I always > believed that command line options would overwrite configured options. > > Is my assumption that command line options always win wrong or is this a > bug?
It's a bug.