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

Re: [topgit] tg update error

From
Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Date
Feb 12, 2009, 09:25 UTC
Message-ID
<20090212092558.GB21074@skywalker>
In-Reply-To
<20090212084811.GA14261@piper.oerlikon.madduck.net>
On Thu, Feb 12, 2009 at 09:48:11AM +0100, martin f krafft wrote:
Show 10 quoted lines
> also sprach Aneesh Kumar <aneesh.kumar@gmail.com> [2009.02.12.0909 +0100]:
> > doing a tg update with latest git gives the below error
> > 
> > [extent_validate@linux-2.6]$ tg update
> > fatal: Refusing to point HEAD outside of refs/heads/
> > [extent_validate@linux-2.6]$
> 
> Which version? And could you please provide (a lot) more information
> about your repository or make it available?
> 

Latest git and topgit. Moving to git version v1.6.1.3 fixed the issue. I can reproduce the problem on any test repo. Just do a tg update after committing something in the dependent branch.

-aneesh
Previous: martin f krafftNext: martin f krafft
Message 3 of 20 in “[topgit] tg update error”
  1. Aneesh KumarFeb 12, 2009
  2. martin f krafftFeb 12, 2009
  3. Aneesh Kumar K.VFeb 12, 2009
  4. martin f krafftFeb 12, 2009
  5. Aneesh Kumar K.VFeb 12, 2009
  6. Bert WesargFeb 12, 2009
  7. Jeff KingFeb 12, 2009
  8. Jeff KingFeb 12, 2009
  9. martin f krafftFeb 12, 2009
  10. Junio C HamanoFeb 12, 2009
  11. martin f krafftFeb 12, 2009
  12. Junio C HamanoFeb 12, 2009
  13. martin f krafftFeb 13, 2009
  14. Junio C HamanoFeb 13, 2009
  15. Junio C HamanoFeb 13, 2009
  16. Jeff KingFeb 13, 2009
  17. Junio C HamanoFeb 14, 2009
  18. Jeff KingFeb 14, 2009
  19. Junio C HamanoFeb 14, 2009
  20. Jeff KingFeb 14, 2009

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.