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

Re: [PATCH] git-update-ref: add --no-deref option for overwriting/detaching ref

From
SVSven Verdoolaege <skimo@kotnet.org>
Date
May 9, 2007, 12:53 UTC
Message-ID
<20070509125306.GV942MdfPADPa@greensroom.kotnet.org>
In-Reply-To
<20070509123914.GO4489@pasky.or.cz>
On Wed, May 09, 2007 at 02:39:14PM +0200, Petr Baudis wrote:
Show 7 quoted lines
> On Wed, May 09, 2007 at 12:33:20PM CEST, Sven Verdoolaege wrote:
> > git-checkout is also adapted to make use of this new option
> > instead of the handcrafted command sequence.
> > 
> > Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
> 
> Isn't this what git-symbolic-ref is about?

You certainly can't use git-symbolic-ref now to overwrite a symbolic ref by a non-symbolic ref. It allows you to do the equivalent of symlink/readlink, while we want to _remove_ the link here.

skimo
Previous: Petr BaudisNext: Junio C Hamano
Message 3 of 10 in “git-update-ref: add --no-deref option for overwriting/detaching ref”
  1. git-update-ref: add --no-deref option for overwriting/detaching refSven Verdoolaege, May 9, 2007
  2. Petr BaudisMay 9, 2007
  3. Sven VerdoolaegeMay 9, 2007
  4. Junio C HamanoMay 9, 2007
  5. failing test t9400 (Re: [PATCH] git-update-ref: add --no-deref option for overwriting/detaching ref)Sven Verdoolaege, May 9, 2007
  6. Junio C HamanoMay 9, 2007
  7. Sven VerdoolaegeMay 9, 2007
  8. Frank LichtenheldMay 9, 2007
  9. Junio C HamanoMay 9, 2007
  10. Johannes SchindelinMay 9, 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.