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

Re: [topgit] tg update error

From
MKmartin f krafft <madduck@debian.org>
Date
Feb 12, 2009, 21:01 UTC
Message-ID
<20090212210135.GA24687@piper.oerlikon.madduck.net>
In-Reply-To
<20090212125946.GC5397@sigill.intra.peff.net>
also sprach Jeff King <peff@peff.net> [2009.02.12.1359 +0100]:
Show 10 quoted lines
> > So what I suspect is happening is that topgit is trying to set HEAD to
> > "refs/top-bases/whatever". Aneesh, can you confirm by running your test
> > with GIT_TRACE=1?  I suspect you will see a call like "git symbolic-ref
> > HEAD refs/top-bases/foo".
> 
> Actually, I was able to reproduce with the recipe from Martin and Bert
> elsewhere in the thread. And that is indeed what is happening:
> 
>   trace: built-in: git 'symbolic-ref' 'HEAD'
>   'refs/top-bases/test'\

Thanks, Jeff, for the accurate analysis. Since I do not see a way for topgit to do things differently -- top-bases are *not* heads and thus warrant a different namespace -- can I assume that this is to be fixed in Git and not in TopGit?

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"it is only the modern that ever becomes old-fashioned."
                                                        -- oscar wilde
Previous: Jeff KingNext: Junio C Hamano
Message 9 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.