public void updateCustomPaths(@NotNull GitConfig.Core core) {
    String hooksPath = core.getHooksPath();
    if (hooksPath != null) {
      try {
        myCustomHooksDirPath = myRootDir.toNioPath().resolve(hooksPath).toString();
      }
      catch (InvalidPathException e) {
        LOG.warn("Can't resolve custom hooks path: '" + hooksPath + "'");
        myCustomHooksDirPath = null;
      }
    }
    else {
      myCustomHooksDirPath = null;
    }
  }
public void updateCustomPaths(@NotNull GitConfig.Core core)