diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2019-01-20 21:54:27 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-01-21 00:54:16 +0100 |
commit | 9fee7512631474a8f595f39bac58cd1cfe6d5593 (patch) | |
tree | a9aeff3c6413372f983606261ab99fe738d9a3c2 /org.eclipse.jgit.pgm | |
parent | fa3db15049aacf9e639b18e498511817cd4e131a (diff) | |
download | jgit-9fee7512631474a8f595f39bac58cd1cfe6d5593.tar.gz jgit-9fee7512631474a8f595f39bac58cd1cfe6d5593.zip |
pgm: Fix missing braces in Push.run()
Change-Id: I7cc1b3ca022ba131c196d72c1b776de942442b7f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java index faa0f51d76..e65e5d16ed 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Push.java +++ b/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); |