Re: When does git check for branch-X being uptodate with origin/branch-X?
- From
Thomas Adam <thomas.adam22@gmail.com>
- Date
- Mar 21, 2016, 20:43 UTC
- Message-ID
- <CA+39Oz4Atuv3N0QNj8o1SYgHzMUyES1QHUsWh-MdNiNr-xPM_w@mail.gmail.com>
- In-Reply-To
- <20160321202810.GD32071@sigill.intra.peff.net>
On 21 March 2016 at 20:28, Jeff King <peff@peff.net> 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