git-time-metric / gtm

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

Get name of branch while report with summary format #101

Open kspacja opened 4 years ago

kspacja commented 4 years ago
git log --branches --since=17-10-2019 --pretty=%H | gtm report -format=summary

It works very well, but I just wondering if it possible to have name of branch which given commit come from in output.

Now I can see sth like:

Tue Oct 22
       54m  0s Rework of google tags to init it dynamicly [x]
        7m  0s Update gitignore [x]
    1h  1m  0s

Mon Oct 21
        8m  0s Update to have warn not only log [x]
       45m  0s FM-2162, FM-2160 [x]
       53m  0s

What is ok, but I remember each of them are from other branches, but I don't know which is which.

mschenk42 commented 4 years ago

Thanks for the feature request. I'll have to investigate to see what's possible with the libgit library we are using.