Re: [PATCH v2 0/8] RFC: Server side merges (no ref updating, no commit creating, no touching worktree or index)

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

 



On Wed, Jan 5, 2022 at 12:18 PM Junio C Hamano <gitster@xxxxxxxxx> wrote:
>
> "Elijah Newren via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes:
>
> > This series introduces a new option to git-merge-tree: --real (best name I
> > could come up with). This new option is designed to allow a server-side
> > "real" merge (or allow folks client-side to do merges with branches they
> > don't even have checked out).
>
> Finally.  merge-tree was added by Linus mostly as a demonstration of
> idea to trick other developers into enhancing it to implement a full
> merge that does not need to touch the index or the working tree, but
> everybody failed to be enticed by it so far. It is true that it can
> be used server-side, but I do not think that is what we want to sell
> it as (after all, receiving a push, merging it to the history in the
> central repository, and checking the result out to the working tree,
> would be a good "server-side" operation to have, but it can be done
> today without this series).  The selling point would rather be it is
> done mostly in-core, without touching working tree or the index file,
> no?

You're probably right about how we try to sell it as a project to
external folks, but I was focused instead on selling it to reviewers
within the project.

"Server side merge" was the name of the topic at the Git Summit and
lots of folks had interesting comments back then, so I was hoping to
grab people's attention with a phrase they would have seen previously
and commented on.

Further, the folks I know of who have experience trying to do an
in-core merge are folks who operate on the server side (using libgit2
instead of git, which they have some gripes with).  I wanted their
experience and views in the review and wanted to make sure it met
their needs, and tried to highlight that to lure them into responding
and reviewing.

> Exciting ;-).

Thanks.  :-)



[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