aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2013-05-06 21:47:11 +0200
committerChris Aniszczyk <caniszczyk@gmail.com>2013-07-21 22:06:34 -0500
commita2b33a8ac33c63eea82f300b802a26af54a3d61d (patch)
treef4669ce66b29cea7e9197d3f676d80c77c3b1ac2 /org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java
parent60e01cff2f763a85ed24a706d26eb9f159ffa832 (diff)
downloadjgit-a2b33a8ac33c63eea82f300b802a26af54a3d61d.tar.gz
jgit-a2b33a8ac33c63eea82f300b802a26af54a3d61d.zip
Add NON-NLS comments for some obviously untranslatable strings
Change-Id: I2d1076b46695dac84961b8ae663bfc5cb123b3a3 Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java
index c3922099d0..2bc9d22449 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/RevertCommand.java
@@ -169,7 +169,7 @@ public class RevertCommand extends GitCommand<RevCommit> {
String shortMessage = "Revert \"" + srcCommit.getShortMessage() //$NON-NLS-1$
+ "\""; //$NON-NLS-1$
- String newMessage = shortMessage + "\n\n"
+ String newMessage = shortMessage + "\n\n" //$NON-NLS-1$
+ "This reverts commit " + srcCommit.getId().getName() //$NON-NLS-1$
+ ".\n"; //$NON-NLS-1$
if (merger.merge(headCommit, srcParent)) {