]> source.dussan.org Git - jgit.git/commit
Allow PreUploadHook.onSendPack to send messages to the client 60/13060/1
authorShawn Pearce <spearce@spearce.org>
Wed, 22 May 2013 19:12:52 +0000 (12:12 -0700)
committerShawn Pearce <spearce@spearce.org>
Wed, 22 May 2013 19:14:08 +0000 (12:14 -0700)
commit6e896ba66ba095b97a89a622d43f05ce9ad501e7
tree12defc1699b622d9ca58adf88f27b18e341cd9cb
parent3e58471ee3b671b9b9ebdb7c909a8e7a4647a688
Allow PreUploadHook.onSendPack to send messages to the client

Before transmitting to the client a hook may want to send along
a text message ahead of the pack, such as a "message of the day".
Enable this usage by mirroring the message sending API from
ReceivePack on the UploadPack instance, using the side band.

Change-Id: I31cd254a4ddb816641397a3e9c2c20212471c37f
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java