Re: When does git check for branch-X being uptodate with origin/branch-X?

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

 



From: "Thomas Adam" <thomas.adam22@xxxxxxxxx>
Sent: Monday, March 21, 2016 8:43 PM
On 21 March 2016 at 20:28, Jeff King <peff@xxxxxxxx> wrote:
We never contact other repositories unless explicitly asked to by
fetch, pull, push, etc. If you want to have the most up-to-date value
without merging, you can just "git fetch" to update the tracking
branches.

Thanks.  I understand how to use git-fetch, it's more a case of
whether even printing that message is useful?  I appreciate it can
only go on the cached value, but it is still misleading to print that
in the case where the cache might not be up to date.  Of course,
determining that is a different problem.

-- Thomas Adam

This issue (that the tracking is passive, not 'active') may also be something for the 'Beginner mode' discussion.

The rtb (remote tracking branch) was something I'd noted earlier in the initial 'Beginner mode', discussion, $gmane/288727/focus=288812 (GSoC Introduction; 14 Mar '16, 22:08)

"The Git data model is very powerful and it does take a lot of 'unlearning'
of old expectations (which is very hard) before the capabilities of the git
model become well established in the users mind. For example, remote
tracking branches are not remote but local, and are a reverse polish
description (a local branch which keeps track of a remote's branch, from the
last time you looked).

Different people get different parts of the model in different orders and
different rates. Identifying the many issues (in model understanding) may be
a start for identifying which command/options should be targeted."

--
Philip
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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]