Re: [topgit] tg update error
From: martin f krafft <hidden>
Date: 2016-06-15 22:46:09
Attachments
- digital_signature_gpg.asc [application/pgp-signature] 197 bytes
From: martin f krafft <hidden>
Date: 2016-06-15 22:46:09
also sprach Jeff King [off-list ref] [2009.02.12.1359 +0100]:
quoted
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