Closed acuarica closed 6 years ago
Thanks Luis. I appreciate the contribution. I'm going to merge this into the submodule branch. I have some changes I'd like to make. I'll create another PR so you can review them and we can adjust further as needed.
This PR has the tests fixed.
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.