Re: Tracking parent branches in Git

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

 



Eric Kulcyk <Eric.kulcyk@xxxxxxxxxxxxx> writes:

[Overly long lines are not appreciated around here.]

> We would like to track parent branches so that creating pull
> requests can automatically determine the correct branch to merge
> against.  I understand that this would require tracking more
> information than is currently available right now in git.  Also,
> it seems that if some cases, it is not possible to determine a
> parent branch, in which case it would just be empty/null.

Do you mean by "parent branch" what people usually call "upstream
branch" (i.e. when that branch on the other side gains more commits
independent from what you have been working on, then you would want
to rebase your work on top of the updated state of that branch on
the other side) around here?  Perhaps "git help glossary", look
for "upstream branch" and start from there?  The entry mentions the
configuration variables used to keep track of that information,
which are described in "git help config", I think.

> If I made a change to track the parent branch for each branch,
> would this feature be accepted/welcomed as part of git, even if it
> off by default?

Regardless of what is being proposed, this is often not a very
useful question.  Something worth doing for yourself is worth doing
whether others also find it useful ;-)  And others usually do not
have enough information to judge if such a change is welcome until
seeing it in a bit more concrete form.

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