I've implemented the submodule feature. The basic work flow seems to work fine: init/status/commit/report. But more tests are very welcome.
Now there is a distinction between the git repo itself (the .git dir in most cases), and the working tree root. Instead of cat ".git", now the work tree root is obtained by open the repository and asking for the working tree root. If I'm missing something please let me know.
Please keep in mind that I just started with golang.
I've implemented the submodule feature. The basic work flow seems to work fine: init/status/commit/report. But more tests are very welcome.
Now there is a distinction between the git repo itself (the
.git
dir in most cases), and the working tree root. Instead of cat ".git", now the work tree root is obtained by open the repository and asking for the working tree root. If I'm missing something please let me know.Please keep in mind that I just started with golang.
Comments and ideas are more than welcome.