From: Jakub Narebski Date: Sat, 02 Dec 2006 12:48:17 GMT Subject: Re: [RFC] Submodules in GIT Message-ID: 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