git-time-metric / gtm

Simple, seamless, lightweight time tracking for Git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get name of branch while report with summary format

kspacja opened this issue · comments

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.

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