Closed jaychsu closed 6 years ago
Yes, create a .wakatime-project
file with the first line of that file OthProj
then put that file in your RootProject
folder. Any files edited inside that folder will now be assigned to OthProj
.
It's work. Thx. :)
One more question, does it make sense to load proj info from .gitsubmodule
if it exists?
does it make sense to load proj info from .gitsubmodule if it exists?
My understanding of submodules is they are for dependencies, not usually for development inside the submodules?
However, we can add support for submodules to wakatime-cli that can be enabled with a config setting in ~/.wakatime.cfg
.
OK, I'll submit a PR into wakatime-cli to do that :)
wakatime/wakatime#105 added project detection from git submodules.
I don't know if this is a bug:
When I make a change in
OthProj
(it's a git submodule) inRootProject
, my time will be counted underRootProject
.The structure is:
Is it possible to change it to the same project if the git address is the same?
For this example, whether I'm in the
OthProj
inRootProject
, or directly inOthProj
, the time spent will be counted inOthProj
.