summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-01-04 18:32:25 +0100
committerJoey Hess <joey@kodama.kitenet.net>2008-01-04 12:59:47 -0500
commit769093aa22ab6102dc8f86fa6cb923618e3a5950 (patch)
tree23d3f1596e5c7d20e2dc5d8b5b2fba9d326b037c /init.d
parent649cc66c702fe34724ad9c34ea9a06efc7de7123 (diff)
replace git-foo with git foo
from the release notes of the upcoming 1.5.4 release: "The next feature release of git (this change is scheduled for v1.6.0) will by default install dashed form of commands (e.g. "git-commit") outside of users' normal $PATH"
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/40git-init2
-rwxr-xr-xinit.d/70git-add4
2 files changed, 3 insertions, 3 deletions
diff --git a/init.d/40git-init b/init.d/40git-init
index 69867c4..1554166 100755
--- a/init.d/40git-init
+++ b/init.d/40git-init
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
if [ ! -e .git ]; then
- git-init
+ git init
echo "$(hostname) /etc repository" > .git/description
fi
diff --git a/init.d/70git-add b/init.d/70git-add
index 06504b4..1e2680c 100755
--- a/init.d/70git-add
+++ b/init.d/70git-add
@@ -1,5 +1,5 @@
#!/bin/sh
set -e
-if ! git-add .; then
- echo "etckeeper warning: git-add failed" >&2
+if ! git add .; then
+ echo "etckeeper warning: git add failed" >&2
fi