public static void refreshVfs(@NotNull VirtualFile root, @Nullable Collection<? extends Change> changes) {
    if (changes == null || Registry.is("git.refresh.vfs.total")) {
      refreshVfsInRoot(root);
    }
    else {
      RefreshVFsSynchronously.updateChanges(changes);
    }
  }
public static void refreshVfs(@NotNull VirtualFile root, @Nullable Collection<? extends Change> changes)