changeset 1084:93106436f24f draft

allow arguments for ./git-commit and ./gitd
author SeekingFor <nobody@nowhere>
date Sat, 16 Mar 2013 13:03:25 +0000
parents 0264f4b87684
children 5ec278277aa4
files git-commit gitd
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/git-commit	Sat Mar 16 13:01:24 2013 +0000
+++ b/git-commit	Sat Mar 16 13:03:25 2013 +0000
@@ -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
--- a/gitd	Sat Mar 16 13:01:24 2013 +0000
+++ b/gitd	Sat Mar 16 13:03:25 2013 +0000
@@ -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 "$@"