summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/git/PatchsetReceivePack.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-03-12 21:44:36 -0400
committerJames Moger <james.moger@gitblit.com>2014-03-12 21:44:36 -0400
commitb8e1fa94f3f28a94b466c79b1a4b24c6fd755df1 (patch)
treee9741f014736dfa7e67b6e34197ab006b4eea73d /src/main/java/com/gitblit/git/PatchsetReceivePack.java
parent2a81bdf4c10f6394c052457303a82f925209e3f3 (diff)
downloadgitblit-b8e1fa94f3f28a94b466c79b1a4b24c6fd755df1.tar.gz
gitblit-b8e1fa94f3f28a94b466c79b1a4b24c6fd755df1.zip
Improve logging of received patchset command
Diffstat (limited to 'src/main/java/com/gitblit/git/PatchsetReceivePack.java')
-rw-r--r--src/main/java/com/gitblit/git/PatchsetReceivePack.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/git/PatchsetReceivePack.java b/src/main/java/com/gitblit/git/PatchsetReceivePack.java
index ee8295ca..d3d0b1df 100644
--- a/src/main/java/com/gitblit/git/PatchsetReceivePack.java
+++ b/src/main/java/com/gitblit/git/PatchsetReceivePack.java
@@ -484,6 +484,8 @@ public class PatchsetReceivePack extends GitblitReceivePack {
* @return the patchset command
*/
private PatchsetCommand preparePatchset(ReceiveCommand cmd) {
+ LOGGER.info(MessageFormat.format("Preparing {0} patchset command for \"{1}\" received from {2}",
+ repository.name, cmd.getRefName(), user.username));
String branch = getIntegrationBranch(cmd.getRefName());
long number = getTicketId(cmd.getRefName());