Werk #5875: Git: Fixed error "git add --all ... is outside repository" with older git versions

Component Setup
Title Git: Fixed error "git add --all ... is outside repository" with older git versions
Date Mar 2, 2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.4.0p27 1.5.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When using older git versions (saw this with 1.7.1) an error could occur when enabling the git integration of WATO. This was caused by an incompatibility with the "git add" command used by WATO. It used absolute paths to add the new files that should be added to git instead of relative paths to the current working directory.

This issue was present in all 1.4.0 releases.

To the list of all Werks