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

Komponente Setup
Titel Git: Fixed error "git add --all ... is outside repository" with older git versions
Datum 02.03.2018
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.4.0p27 1.5.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks