Module: check_mk
Branch: master
Commit: d674de171b27738340097599c0405184a5b66620
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d674de171b2773…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 13 10:44:03 2016 +0200
3024 FIX Fixed WATO GIT version control for older (<2.0) GIT versions
---
.werks/3024 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/watolib.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3024 b/.werks/3024
new file mode 100644
index 0000000..7bba04e
--- /dev/null
+++ b/.werks/3024
@@ -0,0 +1,9 @@
+Title: Fixed WATO GIT version control for older (<2.0) GIT versions
+Level: 1
+Component: wato
+Compatible: compat
+Version: 1.2.9i1
+Date: 1460537019
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 451fa1f..d7c0289 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -252,6 +252,7 @@
* 3371 FIX: Be compatible to old site=None setting read from hosts.mk...
* 3329 FIX: Function discover_services now allows the URL parameter mode...
* 3330 FIX: WATO Web-API now allows to specify root folder with / instead of empty
string again
+ * 3024 FIX: Fixed WATO GIT version control for older (<2.0) GIT versions
Notifications:
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index efc8946..af88693 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -4507,7 +4507,7 @@ def do_git_commit():
def git_add_files():
- git_command(["add", ".gitignore", "*.d/wato"])
+ git_command(["add", "--all", ".gitignore",
"*.d/wato"])
def git_has_pending_changes():