Browse Source

pgm: Fix missing braces in Push.run()

Change-Id: I7cc1b3ca022ba131c196d72c1b776de942442b7f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.4
Matthias Sohn 6 years ago
parent
commit
9fee751263
  1. 6
      org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java

6
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java

@ -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);

Loading…
Cancel
Save