]> source.dussan.org Git - gitblit.git/commitdiff
code cleanup 77/head
authorsaheba <mail@saheba.net>
Mon, 25 Mar 2013 20:36:23 +0000 (21:36 +0100)
committersaheba <mail@saheba.net>
Mon, 25 Mar 2013 20:36:23 +0000 (21:36 +0100)
src/com/gitblit/GitServlet.java

index b8e120665d4d8b8210194b5ca5fb85b557be79ba..cb47b3238004b06197450e70947a2d6d1cefa462 100644 (file)
@@ -311,19 +311,14 @@ public class GitServlet extends org.eclipse.jgit.http.server.GitServlet {
                                                        ReceiveCommand.Type.UPDATE)\r
                                                        && receiveCommand.getResult().equals(\r
                                                                        ReceiveCommand.Result.OK)) {\r
+                                               // if type=update and update was ok, autotag\r
                                                String objectId = receiveCommand.getNewId().toString()\r
                                                                .replace("AnyObjectId[", "").replace("]", "");\r
-                                               System.err.println("SHB id " + objectId);\r
-                                               System.err.println("SHB id "\r
-                                                               + objectId.getBytes().length);\r
-                                               // if type=update and update was ok, autotag\r
                                                boolean result = JGitUtils\r
                                                                .createIncrementalRevisionTag(\r
-                                                                               rp.getRepository(), objectId);\r
-                                               System.err.println("SHB res " + result);\r
+                                                                               rp.getRepository(), objectId);                                          \r
                                        }\r
-                               }\r
-                               System.err.println("SHB cmds: " + cmds);\r
+                               }                               \r
                        }\r
                        \r
                        // log ref changes\r