Re: [RFC] Submodules in GIT
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 2, 2006, 12:48 UTC
- Message-ID
- <ekrsio$1qe$1@sea.gmane.org>
- In-Reply-To
- <20061201110032.GL18810@admingilde.org>
[cut]
From this discussion I think it follows that supermodule should track HEAD version of submodule. Perhaps the supermodule index should have sha1 of submodule commit, so (as usual) you have to update-index in supermodule to record changes in submodule; the difference being that you update to HEAD version, not to working directory version. Or you can just git-commit -a in supermodule which would take working directory version of files, and HEAD version of submodules.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git