diff options
author | saheba <mail@saheba.net> | 2013-03-25 21:36:23 +0100 |
---|---|---|
committer | saheba <mail@saheba.net> | 2013-03-25 21:36:23 +0100 |
commit | e0c37df7ca2fe51bb538bdfe2412f74d5880e17d (patch) | |
tree | 7a6b872df3597282287b33d3ed717d064d69f13d /src | |
parent | 2a8a74bedafdb56b7e7edcb42642dc1eb5e54fff (diff) | |
download | gitblit-e0c37df7ca2fe51bb538bdfe2412f74d5880e17d.tar.gz gitblit-e0c37df7ca2fe51bb538bdfe2412f74d5880e17d.zip |
code cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/com/gitblit/GitServlet.java | 11 |
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
|