Thread (92 messages) 92 messages, 29 authors, 2016-06-15

Re: Mercurial vs Updated git HOWTO for kernel hackers

From: Daniel Barkalow <hidden>
Date: 2005-06-24 21:15:49
Also in: lkml

On Fri, 24 Jun 2005, Matthias Urlichs wrote:
Hi, Petr Baudis wrote:
quoted
Switching branches in place will be supported soon (although I have
doubts about its usefulness).
Well, I don't. Main reason: It's simply a lot faster to create+switch to a
branch locally for doing independent work, than to hardlink the whole
Linux directory tree into a clone tree.
There's another option, which I may be the only person currently
using: have a repo (.git directory) not in a working directory, and have
the objects/ and refs/ subdirectories of the .git directories in your
working directories symlinked to those subdirectories of the repo. Then
you can have any number of functionally identical working directories,
each of which is set to some branch. If you have a reasonably small number
of branches at any time, they can each have a working directory switched
to them. On the other hand, all of the branches are accessible from any of
them.

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help