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