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

Re: [PATCH] New git-seek command with documentation and test.

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Feb 24, 2006, 06:53 UTC
Message-ID
<43FEAD62.6050302@zytor.com>
In-Reply-To
<20060224002915.17331.qmail@science.horizon.com>
linux@horizon.com wrote:
Show 13 quoted lines
> The annoying thing about temporary branch names like "bisect" and "seek"
> is that:
> a) They clutter up the nae space available to the repository user.
>    Users have to know that those are reserved names.
> b) If a repository is cloned while they're in use, they might get
>    into a "remotes" file, with even more confusing results.
> 
> This is somewhat heretical, but how about making a truly unnamed branch by
> having .git/HEAD *not* be a symlink, but rather hold a commit ID directly?
> It's already well established that files in the .git directory directly
> are strictly local to this working directory, so it seems a much better
> home for such temporary state.
> 

It might be easier to just reserve part of the namespace, e.g. ".bisect" and ".seek" instead.

	-hpa
Previous: linux@horizon.comNext: Andreas Ericsson
Message 4 of 5 in “Re: [PATCH] New git-seek command with documentation and test.”
  1. linux@horizon.comFeb 24, 2006
  2. Johannes SchindelinFeb 24, 2006
  3. linux@horizon.comFeb 24, 2006
  4. H. Peter AnvinFeb 24, 2006
  5. Andreas EricssonFeb 24, 2006

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.