id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 10602 GitPlugin: Fix cache Peter Suter Jun Omae "''Created as part of the [ticket:10594 move of GitPlugin]. Tickets originally reported for th:GitPlugin: th:#8016, th:#4505'' Quoting [th:ticket:8016 xarkam]: > If files in git repositories as renamed, the git plugin does not read the change. > > Change on trac.ini in {{{[git]}}} section > cached_repository = true to false resolve this bug. Quoting [th:ticket:4505 anonymous]: > Once a commit is reset, GitPlugin keeps complaining about the missing changeset even when newer changesets modify the same files. Browsing the git repo is not possible anymore after this. > > Disabling the cache in trac.ini worked around the errors, but browsing changes is now very slow." defect closed normal 1.0.2 plugin/git 1.0dev normal fixed performance cache Jun Omae Avoid missing changeset after resetting and removing branch on cached git repository. Added `remove_cache()` and `save_metadata()` to `CachedRepository` for its subclasses.