Browse Source

ReceivePack: Remove unnecessary ReceivePack. prefix on static call

Change-Id: I2d9a95266f5baa5a2298451adbd9ca0259b26c4b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
next
David Pursehouse 5 years ago
parent
commit
b89e5ecc9f
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java

2
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java

@ -1354,7 +1354,7 @@ public class ReceivePack {
continue;
}
ReceiveCommand cmd = ReceivePack.parseCommand(line);
ReceiveCommand cmd = parseCommand(line);
if (cmd.getRefName().equals(Constants.HEAD)) {
cmd.setResult(Result.REJECTED_CURRENT_BRANCH);
} else {

Loading…
Cancel
Save