summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsaheba <mail@saheba.net>2013-03-25 21:36:23 +0100
committersaheba <mail@saheba.net>2013-03-25 21:36:23 +0100
commite0c37df7ca2fe51bb538bdfe2412f74d5880e17d (patch)
tree7a6b872df3597282287b33d3ed717d064d69f13d /src
parent2a8a74bedafdb56b7e7edcb42642dc1eb5e54fff (diff)
downloadgitblit-e0c37df7ca2fe51bb538bdfe2412f74d5880e17d.tar.gz
gitblit-e0c37df7ca2fe51bb538bdfe2412f74d5880e17d.zip
code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/com/gitblit/GitServlet.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/com/gitblit/GitServlet.java b/src/com/gitblit/GitServlet.java
index b8e12066..cb47b323 100644
--- a/src/com/gitblit/GitServlet.java
+++ b/src/com/gitblit/GitServlet.java
@@ -311,19 +311,14 @@ public class GitServlet extends org.eclipse.jgit.http.server.GitServlet {
ReceiveCommand.Type.UPDATE)
&& receiveCommand.getResult().equals(
ReceiveCommand.Result.OK)) {
+ // if type=update and update was ok, autotag
String objectId = receiveCommand.getNewId().toString()
.replace("AnyObjectId[", "").replace("]", "");
- System.err.println("SHB id " + objectId);
- System.err.println("SHB id "
- + objectId.getBytes().length);
- // if type=update and update was ok, autotag
boolean result = JGitUtils
.createIncrementalRevisionTag(
- rp.getRepository(), objectId);
- System.err.println("SHB res " + result);
+ rp.getRepository(), objectId);
}
- }
- System.err.println("SHB cmds: " + cmds);
+ }
}
// log ref changes