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.
This commit is contained in:
Nico Sallembien 2009-12-22 11:02:24 -08:00
parent 7eef835ad5
commit a8817ed77f
1 changed files with 2 additions and 2 deletions

View File

@ -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;