summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeekingFor <nobody@nowhere>2013-03-16 13:03:25 +0000
committerSeekingFor <nobody@nowhere>2013-03-16 13:03:25 +0000
commit9f2494b2b407053f1e4de294ff70e8a965e68b6e (patch)
treed4d37b49cc1356902ad47ffd77954e986398b6bb
parentbc9d3d2e4df6d58d25cd686f335c480d4277d85a (diff)
downloadresdb-9f2494b2b407053f1e4de294ff70e8a965e68b6e.tar.gz
resdb-9f2494b2b407053f1e4de294ff70e8a965e68b6e.zip
allow arguments for ./git-commit and ./gitd
-rwxr-xr-xgit-commit2
-rwxr-xr-xgitd2
2 files changed, 2 insertions, 2 deletions
diff --git a/git-commit b/git-commit
index 8299f42..c531b99 100755
--- a/git-commit
+++ b/git-commit
@@ -1,4 +1,4 @@
#!/bin/sh
git add configure db doc git-commit gitd scripts contrib .gitignore
-TZ=UTC git commit --date="`date -u +'%s'`"
+TZ=UTC git commit --date="`date -u +'%s'`" "$@"
test -x /usr/lib/git-core/git-update-server-info && /usr/lib/git-core/git-update-server-info
diff --git a/gitd b/gitd
index 9318fb3..4ce18f6 100755
--- a/gitd
+++ b/gitd
@@ -1,4 +1,4 @@
#!/bin/sh
repodir="$(dirname $0)"
touch "$repodir"/.git/git-daemon-export-ok
-exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)" --reuseaddr
+exec git daemon --listen="$(cat "$repodir"/conf/gitd_ip)" --base-path="$(cat "$repodir"/conf/gitd_basepath)" --reuseaddr "$@"