]> source.dussan.org Git - jgit.git/commit
ReceivePack: support quiet capability 41/48241/2
authorShawn Pearce <spearce@spearce.org>
Wed, 20 May 2015 07:34:00 +0000 (00:34 -0700)
committerShawn Pearce <spearce@spearce.org>
Wed, 20 May 2015 15:23:47 +0000 (08:23 -0700)
commit0419f8128b5008b599e2c62953761dd9949813b9
treea8e633e4e167ab20afe6b518bf0437178aa9717f
parentfaf0a8f61decbee5b6cb1385c3440261becc2030
ReceivePack: support quiet capability

git-core has supported this for a long time; allowing clients to
avoid progress messages from the server if they are dumping to a
pipe instead of a tty.

Avoid the two progress monitors going on side-band and expose
isQuiet() method to allow hooks to also reduce their output if
this is sensible for them.

Change-Id: I1df7e38d16765446b441366500b017a90b8ff958
org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/GitProtocolConstants.java