pgm: Fix missing braces in UploadPack.run()
Change-Id: I923af9b4ce62d5098828f4322a2a508bf3927bbd Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
9bf8a1bf14
commit
e74592605e
|
@ -77,8 +77,9 @@ protected void run() {
|
|||
db = key.open(true /* must exist */);
|
||||
org.eclipse.jgit.transport.UploadPack up = new org.eclipse.jgit.transport.UploadPack(
|
||||
db);
|
||||
if (0 <= timeout)
|
||||
if (0 <= timeout) {
|
||||
up.setTimeout(timeout);
|
||||
}
|
||||
up.upload(ins, outs, errs);
|
||||
} catch (RepositoryNotFoundException notFound) {
|
||||
throw die(MessageFormat.format(CLIText.get().notAGitRepository,
|
||||
|
|
Loading…
Reference in New Issue