git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Philip Oakley <philipoakley@iee.org>
To: Theodore Ts'o <tytso@mit.edu>, Bryan Turner <bturner@atlassian.com>
Cc: Junio C Hamano <gitster@pobox.com>,
	rsbecker@nexbridge.com, Eric Kulcyk <Eric.kulcyk@microsoft.com>,
	Git Users <git@vger.kernel.org>
Subject: Re: Tracking parent branches in Git
Date: Wed, 3 Jul 2019 16:58:17 +0100	[thread overview]
Message-ID: <06b74350-0846-91c1-0198-c2bcabd20084@iee.org> (raw)
In-Reply-To: <20190702192412.GE3032@mit.edu>

On 02/07/2019 20:24, Theodore Ts'o wrote:
> I think the real problem with all of this feature request is that it's
> all presuming a particular workflow, and git is currently*not*
> strongly opinionated about the workflow.
I'd suggest that git does have a clear preference for a workflow that is 
based on the "upstream" view. (e.g. see 'rebase')

While Git tries to avoid being opinionated, it does develop a bias of 
avoiding various common workflows, to the point that they are not even 
well named.

In particular, we have a number of variants of the triangular workflow, 
such as having a personal github fork, and a then also a maintainer's 
repo to complete the triangle [which is even worse for those supporting 
Git-for-Windows because of two level maintenance cascade, with different 
compilation and OS requirements..]. Having three 'origins' is no fun.

There was an attempt to document a triangular flow a while back, but it 
wasn't actually that one. e.g. [1])

The other preference aspect is the tendency to expect users to 'support 
the machine' (e.g. the assume-unchanged file flag, which is commonly 
misunderstood), rather than having a clarity about when Git will support 
the user. Here we (they) are looking for the human readable name of the 
branch that they forked from (and is likely to have been extended 
since), rather than the oid hash of the fork point, though that is 
clearly useful and should be recorded with the branch name as it is 
immutable.

I am cautious about support for Gerrit on the basis that it could 
accidentally reinforce a centralised workflow (to the detriment of 
distributed operation), which should be avoided strongly as a deliberate 
bias.

However the desire to _locally_ record the branch name that the current 
branch was created from is something I would support (which is why I 
suggested the unused branch description...).

Philip

[1] 
https://public-inbox.org/git/5A8F8EE0162B49818813DAEFD68F61DA@PhilipOakley/

(sorry for any delays, I'm still in catch-up mode)

  reply	other threads:[~2019-07-03 15:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-01 18:50 Tracking parent branches in Git Eric Kulcyk
2019-07-01 19:34 ` Junio C Hamano
2019-07-01 19:48   ` Bryan Turner
2019-07-01 20:12     ` rsbecker
2019-07-02  9:23       ` Philip Oakley
2019-07-02 17:36         ` Junio C Hamano
2019-07-02 18:52           ` Bryan Turner
2019-07-02 19:24             ` Theodore Ts'o
2019-07-03 15:58               ` Philip Oakley [this message]
2019-07-01 20:40     ` Eckhard Maaß
2019-07-01 20:58       ` Eric Kulcyk
2019-07-01 21:04         ` Eric Kulcyk
2019-07-02  6:42     ` Andreas Krey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=06b74350-0846-91c1-0198-c2bcabd20084@iee.org \
    --to=philipoakley@iee.org \
    --cc=Eric.kulcyk@microsoft.com \
    --cc=bturner@atlassian.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=rsbecker@nexbridge.com \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).