Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
index 40435b8a29..c6fe4d18c1 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
@@ -947,7 +947,8 @@ public class ReceivePack {
// A well behaved client shouldn't have sent us a
// create command for a ref we advertised to it.
//
- cmd.setResult(Result.REJECTED_OTHER_REASON, "ref exists");
+ cmd.setResult(Result.REJECTED_OTHER_REASON, MessageFormat
+ .format(JGitText.get().refAlreadyExists, ref));
continue;
}
}

Back to the top