public static boolean shouldDetectVcsMappingsFor(@NotNull Project project) {
    return Registry.is("vcs.detect.vcs.mappings.automatically") &&
           VcsSharedProjectSettings.getInstance(project).isDetectVcsMappingsAutomatically();
  }
public static boolean shouldDetectVcsMappingsFor(@NotNull Project project)