Re: [PATCH v2] pull: introduce --merge option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alex Henrie wrote:
> On Wed, Jul 21, 2021 at 11:11 AM Junio C Hamano <gitster@xxxxxxxxx> wrote:
> >
> > The "--no-rebase" option, which is documented as a synonym for
> > "--rebase=false", has been there, but the implementation is buggy in
> > some corner cases, which has been worked on recently in a separate
> > thread.  I do not think it is too bad to add "--merge" as yet
> > another synonym for "--rebase=false".
> 
> It's convenient to have the one-letter option `git pull -r` to
> override the configuration and do a rebase. I'd really like to have a
> similar one-letter option `git pull -m` to override the configuration
> and do a merge. That would also alleviate a lot of the desire for a
> separate `git update` (i.e. "fetch and rebase") command.

My proposed `git update` is not "fetch and rebase", but fetch and
fast-forward.

Morevoer, `git pull -m` would still merge with the wrong order of the
parents. On the other hand `git update --merge` would merge them with
the correct order.

I'm not sure what -m would alleviate.

-- 
Felipe Contreras



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux