git-time-metric / gtm

Simple, seamless, lightweight time tracking for Git
MIT License
973 stars 52 forks source link

Submodule #84

Closed acuarica closed 6 years ago

acuarica commented 6 years ago

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.

acuarica commented 6 years ago

Bad merge. Broken commit.