pgm: Fix missing braces in Push.run()

Change-Id: I7cc1b3ca022ba131c196d72c1b776de942442b7f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2019-01-20 21:54:27 +01:00
parent fa3db15049
commit 9fee751263
1 changed files with 4 additions and 2 deletions

View File

@ -124,10 +124,12 @@ protected void run() {
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);