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
Jeff King <peff@peff.net>
Date
Mar 21, 2016, 21:18 UTC
Message-ID
<20160321211834.GA1068@sigill.intra.peff.net>
In-Reply-To
<CA+39Oz51SaKAWsJ027fzhR3CRDfqmy1Dp7qcpx-k9-HrzGKcwg@mail.gmail.com>
On Mon, Mar 21, 2016 at 09:12:18PM +0000, Thomas Adam wrote:
Show 13 quoted lines
> On 21 March 2016 at 20:50, Jeff King <peff@peff.net> wrote:
> > But that's just my opinion. Did you have some specific change you're
> > interested in? I don't think removing that message is productive; it
> > _is_ useful information. Perhaps it could be more clear that we are
> > talking about the tracking branch?
> 
> I don't have a specific change in mind per-se, rather than to discuss
> how we might be able to improve the error message, or document
> somewhere that it's referring to the tracking branch.  Maybe that's
> the point--is it worth mentioning the time/date of when the cache was
> last updated?  That is:
> 
> "branch-X is uptodate with origin/branch-X (as of DD-MM-YY HH:MM:SS)"

Again, just my opinion, but that looks awfully clunky. And it doesn't address the other messages (you might be behind origin/branch-X by N commits, or ahead by N, but only as of that particular date). Do we want to annotate every message whose value was computed based on a tracking branch?

> No one's suggesting that this message is removed, I'm not sure where
> you got that from?
You said earlier:
> [...]it's more a case of whether even printing that message is useful?

I didn't know quite what you had in mind, which is why I asked. If we all agree that removing it is a bad idea, then good, we don't have to bother discussing that option. :)

-Peff
Previous: Thomas AdamNext: Thomas Adam
Message 7 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.