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

Re: git-fetch while on "(no branch)"

From
Jeff King <peff@peff.net>
Date
Jan 15, 2007, 22:01 UTC
Message-ID
<20070115220111.GA7933@coredump.intra.peff.net>
In-Reply-To
<7vzm8k0xai.fsf@assigned-by-dhcp.cox.net>
On Mon, Jan 15, 2007 at 01:56:05PM -0800, Junio C Hamano wrote:
> -'git-symbolic-ref' <name> [<ref>]
> +'git-symbolic-ref' [-q] <name> [<ref>]

Please ignore my patch in this thread; yours is much more sensible. However, if you do go this route, note that git-pull needs to use the '-q' flag as well.

-Peff
Previous: Junio C Hamano
Message 7 of 7 in “git-fetch while on "(no branch)"”
  1. Andy ParkinsJan 15, 2007
  2. git-{parse-remote,pull}: throw away stderr of git-symbolic-refJeff King, Jan 15, 2007
  3. Junio C HamanoJan 15, 2007
  4. git-pull: disallow implicit merging to detached HEADJeff King, Jan 15, 2007
  5. Jeff KingJan 15, 2007
  6. Junio C HamanoJan 15, 2007
  7. Jeff KingJan 15, 2007

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.