On Tue, 17 Oct 2006, Jakub Narebski wrote:Yes. I have to say, that's likely a fairly odd case, and I wouldn't be surprised if other VCS's don't support that mode of operation at _all_. The fact that git branches can be independent of each other is very natural in the git world, but I'd strongly suggest that people who do this should actually do git clone -l instead of actually playing games with symlinking .git/ itself or using GIT_DIR. It means that the two checkouts get separate branch namespaces, but that's really what you'd want most of the time. You _can_ share the whole branch namespace and do the symlink of .git (or just set GIT_DIR - but that's pretty inconvenient), and it might end up being "closer" to what some other VCS would do. But the natural thing to do with git is to just share some of the objects through local "slaving" of the repositories, and consider them otherwise entirely independent. Linus - 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.html
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Dave Young | Re: Linux v2.6.24-rc1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
