Mount parameters setting.
| | |
| | | web.datestampShortFormat = yyyy-MM-dd
|
| | | web.datetimestampLongFormat = EEEE, MMMM d, yyyy h:mm a z
|
| | |
|
| | | # Mount parameters
|
| | | # true: http://localhost/commit/myrepo/abcdef
|
| | | # false: http://localhost/commit/?r=myrepo&h=abcdef
|
| | | # Changing this value requires a server restart.
|
| | | web.mountParameters = true
|
| | |
|
| | | # Show other URLs on the summary page for accessing your git repositories
|
| | | # Use spaces to separate urls. {0} is the token for the repository name.
|
| | | # e.g.
|
| | |
| | | if (parameters == null) {
|
| | | parameters = new String[] {};
|
| | | }
|
| | | if (!GitBlit.getBoolean(Keys.web.mountParameters, true)) {
|
| | | parameters = new String[] {};
|
| | | }
|
| | | mount(new MixedParamUrlCodingStrategy(location, clazz, parameters));
|
| | | }
|
| | |
|