Bläddra i källkod

pgm: Fix missing braces in Push.run()

Change-Id: I7cc1b3ca022ba131c196d72c1b776de942442b7f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v5.3.0.201903061415-rc1
Matthias Sohn 5 år sedan
förälder
incheckning
9fee751263
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4
    2
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java

+ 4
- 2
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java Visa fil

@@ -124,10 +124,12 @@ class Push extends TextBuiltin {
push.setProgressMonitor(new TextProgressMonitor(errw));
push.setReceivePack(receivePack);
push.setRefSpecs(refSpecs);
if (all)
if (all) {
push.setPushAll();
if (tags)
}
if (tags) {
push.setPushTags();
}
push.setRemote(remote);
push.setThin(thin);
push.setAtomic(atomic);

Laddar…
Avbryt
Spara