Remove unnecessary LocalDiskRepositoryManager refresh
The GitRepositoryManager implementation should be responsible for
its own internal caches (if any). Here LocalDiskRepositoryManager
already knows it created a new repository and has already updated
its cached list information, before firing the event the plugin is
listening on.
Plugins should try to avoid referencing LocalDiskRepositoryManager
directly, so that they can load on servers that use other types of
GitRepositoryManager implementations.
Change-Id: I200449e082bea7f4ac79330fd07c56031ed1c9f5
1 file changed