git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 21, 2016, 20:52 UTC
Message-ID
<xmqqfuvjlfjz.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160321202810.GD32071@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> The message from checking is looking only at your local
> refs/remotes/fvwmorg/master branch, which is essentially a cache of what
> is in the actual remote repository.

Saying "cache of what is ..." would further confuse people, I am afraid. We just keep a record of what we last observed and we do not actively go out and update the remote tracking branch without being told by the end user. "cache of what we saw there when we contacted them the last time" is OK ;-).

Show 7 quoted lines
>
> 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.
>
> -Peff
Previous: Stefan Beller
Message 16 of 16 in “When does git check for branch-X being uptodate with origin/branch-X?”
  1. Thomas AdamMar 21, 2016
  2. Jeff KingMar 21, 2016
  3. Thomas AdamMar 21, 2016
  4. Junio C HamanoMar 21, 2016
  5. Jeff KingMar 21, 2016
  6. Thomas AdamMar 21, 2016
  7. Jeff KingMar 21, 2016
  8. Thomas AdamMar 21, 2016
  9. Stefan BellerMar 21, 2016
  10. Junio C HamanoMar 21, 2016
  11. Stefan BellerMar 21, 2016
  12. Junio C HamanoMar 21, 2016
  13. Stefan BellerMar 21, 2016
  14. Philip OakleyMar 22, 2016
  15. Stefan BellerMar 21, 2016
  16. Junio C HamanoMar 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.