\r
protected GroovyScriptEngine gse;\r
\r
- private final IStoredSettings settings;\r
+ protected final IStoredSettings settings;\r
\r
- private final IGitblit gitblit;\r
+ protected final IGitblit gitblit;\r
\r
public GitblitReceivePack(\r
IGitblit gitblit,\r
}\r
}\r
\r
- // reset branch commit cache on REWIND and DELETE\r
for (ReceiveCommand cmd : commands) {\r
String ref = cmd.getRefName();\r
if (ref.startsWith(Constants.R_HEADS)) {\r
switch (cmd.getType()) {\r
case UPDATE_NONFASTFORWARD:\r
case DELETE:\r
+ // reset branch commit cache on REWIND and DELETE\r
CommitCache.instance().clear(repository.name, ref);\r
break;\r
default:\r
}\r
\r
protected void sendHeader(String msg, Object... objects) {\r
- sendMessage("--->", msg, objects);\r
+ sendInfo("--> ", msg, objects);\r
}\r
\r
- protected void sendMessage(String msg, Object... objects) {\r
- sendMessage(" ", msg, objects);\r
+ protected void sendInfo(String msg, Object... objects) {\r
+ sendInfo(" ", msg, objects);\r
}\r
\r
- protected void sendMessage(String prefix, String msg, Object... objects) {\r
+ protected void sendInfo(String prefix, String msg, Object... objects) {\r
String text;\r
if (ArrayUtils.isEmpty(objects)) {\r
text = msg;\r