From 9f2494b2b407053f1e4de294ff70e8a965e68b6e Mon Sep 17 00:00:00 2001 From: SeekingFor Date: Sat, 16 Mar 2013 13:03:25 +0000 Subject: allow arguments for ./git-commit and ./gitd --- git-commit | 2 +- gitd | 2 +- 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 "$@" -- cgit v1.2.3