H. Peter Anvin wrote: > linux@horizon.com wrote: > >> 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. > Ach, no. Not specific names. ^\.-.* would be acceptable, but I sometimes use '.name' or '-name' to mark a temporary branch. Making .- or some such reserved would perhaps make sense, but not with specific names. -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Fri Feb 24 21:13:08 2006
This archive was generated by hypermail 2.1.8 : 2006-02-24 21:13:19 EST