Previously, when distros, profiles, systems, kickstarts, snippets, etc.,
were deleted, git would never learn about them. This made tracking when
they were deleted more difficult.
---
I can't recall if I sent this in before or not. I've had it in my local
git repo since September of 2009. :/
This can also be found on the scm-track-git-options branch at
git://fedorapeople.org/~tmz/cobbler.git.
cobbler/modules/scm_track.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cobbler/modules/scm_track.py b/cobbler/modules/scm_track.py
index 5ff893f..01c988f 100644
--- a/cobbler/modules/scm_track.py
+++ b/cobbler/modules/scm_track.py
@@ -72,9 +72,9 @@ def run(api,args,logger):
# FIXME: if we know the remote user of an XMLRPC call
# use them as the author
- scall(["git","add","config"])
- scall(["git","add","kickstarts"])
- scall(["git","add","snippets"])
+ scall(["git","add","--all","config"])
+ scall(["git","add","--all","kickstarts"])
+ scall(["git","add","--all","snippets"])
scall(["git","commit","-m",'API
update',"--author","'cobbler
<root(a)localhost.localdomain>'"])
--
1.7.6
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
History suggests that capitalism is a necessary condition for
political freedom
-- Milton Friedman