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

Re: [PATCH] Disable USE_SYMLINK_HEAD by default

From
Petr Baudis <pasky@suse.cz>
Date
Nov 15, 2005, 17:42 UTC
Message-ID
<20051115174213.GO16061@pasky.or.cz>
In-Reply-To
<Pine.LNX.4.64.0511150931010.3945@g5.osdl.org>

Dear diary, on Tue, Nov 15, 2005 at 06:33:44PM CET, I got a letter where Linus Torvalds <torvalds@osdl.org> said that...

Show 11 quoted lines
> On Tue, 15 Nov 2005, Pavel Roskin wrote:
> > 
> > With symlinks, cogito doesn't know which branch it is fetching if the
> > branch is not explicitly specified.
> > 
> > The old behavior was to fetch the "master" branch by default.
> > Currently, cogito uses HEAD, but it cannot read the symlink, it can only
> > read the SHA1. 
> 
> Hmm? Why not just use "git-symbolic-ref HEAD" to figure it out? That works 
> with both symlinks and symrefs (and indeed, was added for that reason).

If you show me a way how to do git-symbolic-ref over HTTP, I will be most grateful. :-)

Seriously though, if people have huge problem with having symbolic refs by default, that's unfortunate since we have two possibilities which are not equally tested, but I can live with it - just give me a way to configure that behaviour per-repository, so that I can make GIT use symbolic refs in public repositories (or I can whip up a patch myself at the evening, after all...).

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Linus TorvaldsNext: Linus Torvalds
Message 15 of 24 in “Disable USE_SYMLINK_HEAD by default”
  1. Disable USE_SYMLINK_HEAD by defaultPavel Roskin, Nov 15, 2005
  2. Junio C HamanoNov 15, 2005
  3. Pavel RoskinNov 15, 2005
  4. Junio C HamanoNov 15, 2005
  5. Junio C HamanoNov 15, 2005
  6. Johannes SchindelinNov 15, 2005
  7. Petr BaudisNov 15, 2005
  8. Johannes SchindelinNov 15, 2005
  9. Adrien BeauNov 15, 2005
  10. Pavel RoskinNov 15, 2005
  11. Junio C HamanoNov 15, 2005
  12. Pavel RoskinNov 15, 2005
  13. Nick HengeveldNov 15, 2005
  14. Linus TorvaldsNov 15, 2005
  15. Petr BaudisNov 15, 2005
  16. Linus TorvaldsNov 15, 2005
  17. Junio C HamanoNov 15, 2005
  18. Pavel RoskinNov 15, 2005
  19. Junio C HamanoNov 15, 2005
  20. Pavel RoskinNov 16, 2005
  21. Junio C HamanoNov 16, 2005
  22. Josef WeidendorferNov 16, 2005
  23. Catalin MarinasNov 15, 2005
  24. Pavel RoskinNov 15, 2005

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.