Deleting an re-adding a repository duplicates all spent time from commit messages.
I have a project where I deleted an re-added the Git repository (to move it on disk). When I re-added the repository, the time spent logged using (ex:)
@1h30m tags in commit messages was duplicated. I think this person may have been having a similar issue.
Updated by Jean-Philippe Lang almost 11 years ago
Yes, commit message are parsed when re-adding the repository and new time entries are created.
As a workaround, you should be able to manually delete all these time entries with something like:
delete from time_entries where created_on > [a few minutes ago]