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

Re: [Bug] branch.*.merge interpreted too strictly by tracking logic

From
Jeff King <peff@peff.net>
Date
Feb 5, 2014, 21:08 UTC
Message-ID
<20140205210831.GB16753@sigill.intra.peff.net>
In-Reply-To
<xmqqbnyl2run.fsf@gitster.dls.corp.google.com>
On Wed, Feb 05, 2014 at 01:05:04PM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> > I don't recall us ever doing anything after that. I don't have a problem
> > with making it work, of course, but I am not sure if it is really a bug.
> 
> Once people get used to us being extra nice in some places, other
> less nice places start looking more and more like bugs. It is an
> unfortunate fact of life, but fixing them up is a good thing for
> users.  As long as we can make those less nice places nicer
> uniformly without bending backwards or introducing unnecessary
> ambiguities, that is, and I think this one can be done without
> such downsides.

Oh, absolutely, and I do not think we are breaking anything to start handling it better (my "I don't have a problem..." above). But I guess I am doubting that people are actually doing this at all now. I'd expect most people to have the config set automatically by "branch" or "checkout", or to use "branch --set-upstream-to". Did your report come out of a real case, or was it just something you noticed?

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 6 in “[Bug] branch.*.merge interpreted too strictly by tracking logic”
  1. Junio C HamanoFeb 4, 2014
  2. Jeff KingFeb 5, 2014
  3. Junio C HamanoFeb 5, 2014
  4. Jeff KingFeb 5, 2014
  5. Junio C HamanoFeb 5, 2014
  6. checkout: report upstream correctly even with loosely defined branch.*.mergeJunio C Hamano, Oct 14, 2014

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.