ReceivePack: Remove unnecessary ReceivePack. prefix on static call
Change-Id: I2d9a95266f5baa5a2298451adbd9ca0259b26c4b Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
3e9a5f993b
commit
b89e5ecc9f
|
@ -1354,7 +1354,7 @@ protected void recvCommands() throws IOException {
|
|||
continue;
|
||||
}
|
||||
|
||||
ReceiveCommand cmd = ReceivePack.parseCommand(line);
|
||||
ReceiveCommand cmd = parseCommand(line);
|
||||
if (cmd.getRefName().equals(Constants.HEAD)) {
|
||||
cmd.setResult(Result.REJECTED_CURRENT_BRANCH);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue