]> dxcluster.net Git - spider.git/commitdiff
add standard gcommit command
authorDirk Koopman <djk@dirkl2.(none)>
Fri, 15 Jun 2007 15:20:32 +0000 (16:20 +0100)
committerDirk Koopman <djk@dirkl2.(none)>
Fri, 15 Jun 2007 15:20:32 +0000 (16:20 +0100)
The gcommit command runs issue.pl before doing a commit

gcommit [new symlink]
perl/gcommit [new file with mode: 0755]

diff --git a/gcommit b/gcommit
new file mode 120000 (symlink)
index 0000000..0f051e4
--- /dev/null
+++ b/gcommit
@@ -0,0 +1 @@
+perl/gcommit
\ No newline at end of file
diff --git a/perl/gcommit b/perl/gcommit
new file mode 100755 (executable)
index 0000000..c929fca
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+# do a startard git commit
+./issue.pl
+git commit $@