Skip to content

git: Ignore fsck warning for symlinks pointing to Git dir

Justin Tobler requested to merge jt/ignore-symlink-fsck-check into master

The symlinkPointsToGitDir configuration was introduced in the recent Git security release and by default now warns when the repository contains a symlink that points inside the Git directory. If the transfer.fsckObjects configuration is enabled, the warning instead results in an error. Consequently, this breaks some existing repositories. Disable this check by setting symlinkPointsToGitDir to ignore.

Related: #6090 (closed)

Edited by Justin Tobler

Merge request reports