Sfoglia il codice sorgente

pgm: Fix missing braces in LsRemote.run()

Change-Id: I779a6c28f7e8c4ba0527eb872454fd2cc3d81304
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v5.3.0.201903061415-rc1
Matthias Sohn 5 anni fa
parent
commit
1b16fed56a

+ 2
- 1
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java Vedi File

@@ -87,8 +87,9 @@ class LsRemote extends TextBuiltin {
refs.addAll(command.call());
for (Ref r : refs) {
show(r.getObjectId(), r.getName());
if (r.getPeeledObjectId() != null)
if (r.getPeeledObjectId() != null) {
show(r.getPeeledObjectId(), r.getName() + "^{}"); //$NON-NLS-1$
}
}
} catch (GitAPIException | IOException e) {
throw die(e.getMessage(), e);

Loading…
Annulla
Salva