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

GTM includes time coded on a new uncommitted file in commit time #74

Open
Korne127 opened this issue Feb 22, 2022 · 4 comments
Open

GTM includes time coded on a new uncommitted file in commit time #74

Korne127 opened this issue Feb 22, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Korne127
Copy link
Contributor

Describe the bug
If you program on a file and revert all the changes, GTM includes the time spent on coding on that file in the next commit. That is reasonable. However, when you create a new file after the last commit and spend time coding on it but don't include it in the next commit, GTM still includes the time spent on coding that file in the commit, even although you haven't committed these changes yet.

To Reproduce

  1. Create a new file after the last commit and spend time coding on it
  2. Commit other changes
    => GTM also includes the time you spent coding on that new uncommitted file in the next commit

Expected behavior
GTM should not include time spent on uncommitted changes in a commit. No matter if the file is new or not.

Screenshots/Logs
The files are not committed:
image

But GTM includes them in the report:
image

(and the time is not in status anymore since it has been committed)

Desktop:

  • OS: macOS
  • Version: 1.0.3

Additional context
Is there any way to revert this bug and exclude the time spent on these files out of that commit where they haven't been committed so the time spent on them will be counted for the actual commit where they will be committed?

@Korne127 Korne127 added the bug Something isn't working label Feb 22, 2022
@kilpkonn
Copy link
Collaborator

Hmm, managed to reproduce so definitely is an issue. I'll try to look into it at the end of the week if I have time

@Korne127
Copy link
Contributor Author

Hey, any updates on this?

@Korne127 Korne127 reopened this Mar 22, 2022
@kilpkonn
Copy link
Collaborator

Haven't had enough time to look into it, sorry!
Can't give you any eta as well as quite busy days at school

@Korne127
Copy link
Contributor Author

Hey,
I can completely understand that when being busy and just having much to do for school / uni / work / etc., you often don't have much time for private projects and such stuff.
I just wanted to ask if you have any plans to look into this and resolve it sometimes, since I can imagine you forgot about it.
It's still an issue I've encountered and since I like and use GPT, it would be nice to have it fixed sometimes.
But I completely understand if you currently have much on your mind, I just thought giving a reminder so maybe when you have more time you could look into it for a bit would be a good idea. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants