From 6a7dc8253dc06553592c1f73211df03755d01408 Mon Sep 17 00:00:00 2001 From: Eduard Heimbuch Date: Fri, 13 May 2022 17:59:33 +0200 Subject: [PATCH] Fix diff command content (#2036) Fix diff command getContent which returned always empty string because the results were ignored. --- gradle/changelog/diff_command_content.yaml | 2 ++ .../main/java/sonia/scm/repository/api/DiffCommandBuilder.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 gradle/changelog/diff_command_content.yaml diff --git a/gradle/changelog/diff_command_content.yaml b/gradle/changelog/diff_command_content.yaml new file mode 100644 index 0000000000..5fa170f92a --- /dev/null +++ b/gradle/changelog/diff_command_content.yaml @@ -0,0 +1,2 @@ +- type: fixed + description: Diff command content ([#2036](https://github.com/scm-manager/scm-manager/pull/2036)) diff --git a/scm-core/src/main/java/sonia/scm/repository/api/DiffCommandBuilder.java b/scm-core/src/main/java/sonia/scm/repository/api/DiffCommandBuilder.java index 9c43cf8737..656329cac4 100644 --- a/scm-core/src/main/java/sonia/scm/repository/api/DiffCommandBuilder.java +++ b/scm-core/src/main/java/sonia/scm/repository/api/DiffCommandBuilder.java @@ -110,7 +110,7 @@ public final class DiffCommandBuilder extends AbstractDiffCommandBuilder