aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java
index 37da6c6462..7c44dba4a2 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceiveCommand.java
@@ -157,7 +157,7 @@ public class ReceiveCommand {
private Ref ref;
- private Result status;
+ private Result status = Result.NOT_ATTEMPTED;
private String message;
@@ -186,7 +186,6 @@ public class ReceiveCommand {
type = Type.CREATE;
if (ObjectId.zeroId().equals(newId))
type = Type.DELETE;
- status = Result.NOT_ATTEMPTED;
}
/**