James Moger
2012-07-11 d00a0ca46fcde3e3e580afea6a548b9c12aeac25
commit | author | age
126dde 1 @REM --------------------------------------------------------------------------
JM 2 @REM This is for Lucene search integration.
3 @REM
4 @REM Allows you to add an indexed branch specification to the repository config
5 @REM for all matching repositories in the specified folder.
6 @REM
7 @REM All repositories are included unless excluded using a --skip parameter.
8 @REM --skip supports simple wildcard fuzzy matching however only 1 asterisk is
9 @REM allowed per parameter.
10 @REM
11 @REM Always use forward-slashes for the path separator in your parameters!!
12 @REM
13 @REM Set FOLDER to the server's git.repositoriesFolder
14 @REM Set BRANCH ("default" or fully qualified ref - i.e. refs/heads/master)
15 @REM Set EXCLUSIONS for any repositories that you do not want to change
16 @REM --------------------------------------------------------------------------
17 @SET FOLDER=c:/gitblit/git
18 @SET EXCLUSIONS=--skip test.git --skip group/test*
19 @SET BRANCH=default
20 @java -cp gitblit.jar;"%CD%\ext\*" com.gitblit.AddIndexedBranch --repositoriesFolder %FOLDER% --branch %BRANCH% %EXCLUSIONS%