From: James Moger Date: Fri, 28 Feb 2014 18:33:37 +0000 (-0500) Subject: Fixes to add-indexed-branch scripts X-Git-Tag: v1.4.0~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4be7d8cd93084a2be3cd85f1d51dcb21af67eccf;p=gitblit.git Fixes to add-indexed-branch scripts --- diff --git a/src/main/distrib/linux/add-indexed-branch.sh b/src/main/distrib/linux/add-indexed-branch.sh index d31f43ed..d38fc90f 100644 --- a/src/main/distrib/linux/add-indexed-branch.sh +++ b/src/main/distrib/linux/add-indexed-branch.sh @@ -15,7 +15,7 @@ # Set BRANCH ("default" or fully qualified ref - i.e. refs/heads/master) # Set EXCLUSIONS for any repositories that you do not want to change # -------------------------------------------------------------------------- -SET FOLDER=git -SET EXCLUSIONS=--skip test.git --skip group/test* -SET BRANCH=default -java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS% \ No newline at end of file +FOLDER=data/git +EXCLUSIONS=--skip test.git --skip group/test* +BRANCH=default +java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder $FOLDER% --branch $BRANCH $EXCLUSIONS \ No newline at end of file diff --git a/src/main/distrib/win/add-indexed-branch.cmd b/src/main/distrib/win/add-indexed-branch.cmd index a7c4451a..37121ee6 100644 --- a/src/main/distrib/win/add-indexed-branch.cmd +++ b/src/main/distrib/win/add-indexed-branch.cmd @@ -14,7 +14,7 @@ @REM Set BRANCH ("default" or fully qualified ref - i.e. refs/heads/master) @REM Set EXCLUSIONS for any repositories that you do not want to change @REM -------------------------------------------------------------------------- -@SET FOLDER=c:/gitblit/git +@SET FOLDER=data/git @SET EXCLUSIONS=--skip test.git --skip group/test* @SET BRANCH=default @java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS% %*