Browse Source

ReceivePack: Fix name hiding of 'atomic' member

Change-Id: Ia357d49ca793ff1cb86e7130bc1a5f59590496a9
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.6
David Pursehouse 5 years ago
parent
commit
fa1566f40c
  1. 3
      org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java

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

@ -2183,8 +2183,7 @@ public class ReceivePack {
try { try {
if (unpackError == null) { if (unpackError == null) {
boolean atomic = isCapabilityEnabled(CAPABILITY_ATOMIC); setAtomic(isCapabilityEnabled(CAPABILITY_ATOMIC));
setAtomic(atomic);
validateCommands(); validateCommands();
if (atomic && anyRejects()) { if (atomic && anyRejects()) {

Loading…
Cancel
Save