Recently updated the application.yml file, switching ‘use-native-client:’ from false to true. Saw following messages for all mappings:
com.ca.endevor.integration.modules.repository.git.api.exception.GitCommandException: fatal: detected dubious ownership in repository
Endevor V19
Endevor Bridge for Git: 2.15.2
A change was introduced in git 2.35.2 (and newer) to prevent a user from executing git commands in a repository owned by a different user.
If B4G application runs under the same ID (Linux service ID or MF STC ID - this ID is doing all the filesystem actions), then B4G should not run into this "detected dubious ownership in repository" issue regardless if native git is enabled or not.
There is a possibility that site runs B4G startup under a different user after updating the application.yml file.
Follow this Atlassian Knowledge document to address the issue.