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

Re: [BUG] git show <remote>: bad information: Local ref configured if push.default=tracking

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 13, 2010, 04:46 UTC
Message-ID
<20101113044656.GA7934@burratino>
In-Reply-To
<201011130144.oAD1iBeK022905@no.baka.org>
Seth Robertson wrote:
> I already had this turned on in my ~/.gitconfig.  However, you bring
> up a good point, the output as shown would be correct if the default
> "matching" value was used.

Yep, the get_push_ref_states() function used by "git remote show" wasn't updated when the "[push] default" configuration item was introduced.

>     For your test example: rather than sample output, could you

Sorry to make busy work. Your examples still would useful as a test script for anyone who wants to fix this.

Thanks again for the report.

Regards, Jonathan

Previous: Seth Robertson
Message 4 of 4 in “[BUG] git show <remote>: bad information: Local branch|ref configured”
  1. Seth RobertsonNov 13, 2010
  2. Jonathan NiederNov 13, 2010
  3. Seth RobertsonNov 13, 2010
  4. Jonathan NiederNov 13, 2010

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.