]> source.dussan.org Git - gitblit.git/commitdiff
Added support for user-specified command-line parameters to .cmd files 73/head
authorEgbert Teeselink <e@teeselink.nl>
Sun, 3 Feb 2013 17:29:50 +0000 (18:29 +0100)
committerEgbert Teeselink <e@teeselink.nl>
Sun, 3 Feb 2013 17:29:50 +0000 (18:29 +0100)
distrib/add-indexed-branch.cmd
distrib/authority.cmd
distrib/gitblit-stop.cmd
distrib/gitblit.cmd

index e167639a6b7818666fdb4c265d3fc16c4368b9ca..a7c4451a3527ed05f0b1b3446431a605a91b71ba 100644 (file)
@@ -17,4 +17,4 @@
 @SET FOLDER=c:/gitblit/git\r
 @SET EXCLUSIONS=--skip test.git --skip group/test*\r
 @SET BRANCH=default\r
-@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS%\r
+@java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS% %*\r
index 75cb0cf79df5f47c4754ee86e0cde42296d06d3e..805815e6c2e7e3d803d84d02eed227b136c0798f 100644 (file)
@@ -1 +1 @@
-@java -jar authority.jar --baseFolder data\r
+@java -jar authority.jar --baseFolder data %*\r
index 5820c491d468621fb6d9bc4d11d6aee6ac5a7f5f..34f0f4beca5503d245aeaba58cbc2f546a1ed208 100644 (file)
@@ -1 +1 @@
-@java -jar gitblit.jar --stop --baseFolder data\r
+@java -jar gitblit.jar --stop --baseFolder data %*\r
index 3006a6878c4282cdb2f6ca78f13a4e849c4c7eb4..1a6d7e0905fd1b162fcb620fed83e3adccd47dfd 100644 (file)
@@ -1 +1 @@
-@java -jar gitblit.jar --baseFolder data\r
+@java -jar gitblit.jar --baseFolder data %*\r