mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
Adhere to qit quiet flag
This commit is contained in:
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## Unreleased
|
||||
### Fixed
|
||||
- Error on repository initialization with least-privilege user ([#1414](https://github.com/scm-manager/scm-manager/pull/1414))
|
||||
- Adhere to git quiet flag ([#1421](https://github.com/scm-manager/scm-manager/pull/1421))
|
||||
|
||||
## [2.9.0] - 2020-11-06
|
||||
### Added
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
package sonia.scm.repository.api;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
@@ -71,7 +71,9 @@ public final class GitHookMessageProvider implements HookMessageProvider
|
||||
@Override
|
||||
public void sendMessage(String message)
|
||||
{
|
||||
GitHooks.sendPrefixedMessage(receivePack, message);
|
||||
if (!receivePack.isQuiet()) {
|
||||
GitHooks.sendPrefixedMessage(receivePack, message);
|
||||
}
|
||||
}
|
||||
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user