Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After an interactive rebase with squashing and commit reordering, we lose the time tracking data #103

Open
rahal opened this issue Mar 17, 2020 · 5 comments

Comments

@rahal
Copy link

rahal commented Mar 17, 2020

Hi,
I'm trying to use gtm with my team to track all our time spent on a projet and it works pretty good ( we are able merge notes ).
The problem happens when the commit hash changes, usualy when we reorder or squash our commits, gtm report just show 0s for those commits.
Now I'm almost sure that the time tracking info is still the note, but gtm report shows only data for the current hash.
I can see 2 options :
Easy : Would it be possible to show all the time tracking info? and can we update time info for a specific commit hash ( this one could be very usefull )?
More complex : Maybe track hash changes and squashes then update the time info automatically

Thank you for the great tool

@acuarica
Copy link

acuarica commented Apr 3, 2020

Hi rahal,

I am having another situation when I'm losing pending tracking data. I'm not quite sure if they are related, so I'll open another issue.

@powerpaul17
Copy link

I also ran into this issue, my workflow includes rebasing/amending which leads to "loss" of time data. It is not actually lost, but it will not counted in the reports apparently.
Ideally amending/rebasing would track the already added time (maybe through the commit hashes), but a quick solution would be to simply include the time as "additional" in the total sum.

@powerpaul17
Copy link

Just for info, the problem I was having was because of gitg which seems to not work well when amending a commit. Using VS Code or the command line has the desired behaviour.

@powerpaul17
Copy link

Also see this: #53

@rahal
Copy link
Author

rahal commented Jun 23, 2020

Sorry for the delay, Thank you @powerpaul17 and @acuarica , I'm mostly using the command line for the rebase/amend.
That said, I stopped trying to merge time tracking for now but I'm still using gtm to track my own time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants