This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/main by this push:
new 1b49e8cd9e remove revert message when cancelling git revert, fixes
#5830 (#5831)
1b49e8cd9e is described below
commit 1b49e8cd9eaace16bfef9444eeacc60df0f436a6
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Wed Oct 15 14:49:20 2025 +0200
remove revert message when cancelling git revert, fixes #5830 (#5831)
---
.../git/src/main/java/org/apache/hop/git/GitGuiPlugin.java | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git
a/plugins/misc/git/src/main/java/org/apache/hop/git/GitGuiPlugin.java
b/plugins/misc/git/src/main/java/org/apache/hop/git/GitGuiPlugin.java
index 4b68028dd0..8955b983ee 100644
--- a/plugins/misc/git/src/main/java/org/apache/hop/git/GitGuiPlugin.java
+++ b/plugins/misc/git/src/main/java/org/apache/hop/git/GitGuiPlugin.java
@@ -527,13 +527,15 @@ public class GitGuiPlugin
for (int selectedNr : selectedNrs) {
String file = files[selectedNr];
git.revertPath(file);
+
+ MessageBox box =
+ new MessageBox(HopGui.getInstance().getShell(), SWT.OK |
SWT.ICON_INFORMATION);
+ box.setText(BaseMessages.getString(PKG,
"GitGuiPlugin.Dialog.FilesReverted.Header"));
+ box.setMessage(
+ BaseMessages.getString(PKG,
"GitGuiPlugin.Dialog.FilesReverted.Message"));
+ box.open();
}
}
- MessageBox box =
- new MessageBox(HopGui.getInstance().getShell(), SWT.OK |
SWT.ICON_INFORMATION);
- box.setText(BaseMessages.getString(PKG,
"GitGuiPlugin.Dialog.FilesReverted.Header"));
- box.setMessage(BaseMessages.getString(PKG,
"GitGuiPlugin.Dialog.FilesReverted.Message"));
- box.open();
}
} catch (Exception e) {
new ErrorDialog(