Skip to content

Mark all git repositories as safe

Emiel Wiedijk requested to merge git-safe into master

Newer versions of git include a safety mechanism that refuses to operate on repositories whose file owner is different from the current user. This safety check breaks git operations in the Docker container, when the current UID is different from the UID of the file owner most of the time. Specifically, Flask requires git to calculate the current revision number. Mark all repositories as safe to disable this safety check.

Source: https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks

Merge request reports