I am not talking about the UI. On the contrary, I am talking about the
repository, i.e. the directories and files on your disk and their
contents. You add a lot of additional information to the repository that
is not needed at all.
That is fine.
And what is already there is a lot of meta information (see above). You
do not need that.
For example, in the index, if it is a commit (i.e. a subproject), store
the commit id (not the commit's tree id ). Make the tools handle this
case (as yet, all code expects only trees and blobs when they parse
trees). Especially, extend update-index to be able to store a commit
instead of the tree.
Or else, do not change what is recorded in the index. Then, at commit
time, you not only commit the superproject but also all subprojects.
Or allow both.
Anyway, you can create commits in tree objects. See, you did not need to
store any additional information in the repository.
To push and pull you have to extend the tools as well. That is the next
step.
Regards
Stephan
--
b.i.t.
beratungsgesellschaft f