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 26b66db40..6aa64cc46 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java @@ -669,8 +669,8 @@ private void validateCommands() { } if (ref != null) { - // A well behaved client shouldn't have sent us an - // update command for a ref we advertised to it. + // 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"); continue;