Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
Mercurial 1.9 released
Posted Jul 2, 2011 22:38 UTC (Sat) by robert_s (subscriber, #42402)
This is how software development is supposed to be.
Posted Jul 3, 2011 22:57 UTC (Sun) by dgm (subscriber, #49227)
Posted Jul 4, 2011 13:36 UTC (Mon) by robert_s (subscriber, #42402)
Posted Jul 4, 2011 15:32 UTC (Mon) by JohnLenz (subscriber, #42089)
Posted Jul 4, 2011 17:02 UTC (Mon) by cmccabe (guest, #60281)
Posted Jul 5, 2011 15:35 UTC (Tue) by daglwn (subscriber, #65432)
Git submodule is broken because of the detached head operation. Use git-subtree instead.
Posted Jul 5, 2011 17:25 UTC (Tue) by jrn (subscriber, #64214)
Here are some other issues that a person might run into: https://github.com/jlehmann/git-submod-enhancements/wiki/
Alas, neither git-submodule nor git-subtree is perfect, and even worse, I don't think that any one of them is better in all cases than the than the other.
Posted Jul 5, 2011 20:52 UTC (Tue) by daglwn (subscriber, #65432)
I find the restriction of not committing within the subproject very annoying. I don't know if that's a consequence of detached HEAD or not. git-submodule shouldn't allow it if it doesn't work. git-subtree doesn't allow it because the "submodule" effectively becomes part of the whole repository.
I'm curious what you've found restrictive about git-subtree. I've been using it for about a month and it's done everything I need. I'm particularly curious as we're evaluating source control tools at the moment and I'd like to have as much relevant information as possible. Thanks!
Posted Jul 6, 2011 4:10 UTC (Wed) by nix (subscriber, #2304)
With detached HEAD, it's too easy to lose changes.
Posted Jul 6, 2011 5:40 UTC (Wed) by bronson (subscriber, #4806)
Submodules are great for a single developer who never merges or goes back in time. They are full of thorns for everyone else.
Posted Jul 6, 2011 0:13 UTC (Wed) by cmccabe (guest, #60281)
Posted Jul 6, 2011 20:18 UTC (Wed) by robert_s (subscriber, #42402)
Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds