Re: [PATCH] git-update-ref: add --no-deref option for overwriting/detaching ref
- From
- Sven 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