Преглед изворни кода

Fix typo in ReceivePack.java

The comment indicates that a well-behaved client should not have
sent an update for a ref that already exists, but this in a block
that corresponds to a create command.
tags/v0.7.0
Nico Sallembien пре 14 година
родитељ
комит
a8817ed77f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java Прегледај датотеку

@@ -669,8 +669,8 @@ public class ReceivePack {
}

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;

Loading…
Откажи
Сачувај