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

Re: What is the default refspec for fetch?

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 11, 2014, 23:04 UTC
Message-ID
<xmqqegt95ofm.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CAENte7ggGPgNktH_ArVsjN2yDLADHQApDCzWbQLo_bbCiduk6w@mail.gmail.com>
Christian Halstrick <christian.halstrick@gmail.com> writes:
> ok, thanks. Then I'll teach JGit to fetch at least "HEAD" if nothing
> is configured and nothing explicitly specified as refspec.

Sounds like a sensible thing to do to match what JGit does to what we did from the time immemorial ;-)

Thanks.
Previous: Christian Halstrick
Message 6 of 6 in “What is the default refspec for fetch?”
  1. Christian HalstrickNov 7, 2014
  2. Jeff KingNov 8, 2014
  3. Jakub NarębskiNov 8, 2014
  4. Junio C HamanoNov 9, 2014
  5. Christian HalstrickNov 11, 2014
  6. Junio C HamanoNov 11, 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.