pgm: Fix missing braces in LsRemote.run()

Change-Id: I779a6c28f7e8c4ba0527eb872454fd2cc3d81304
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2019-01-20 21:34:40 +01:00
parent 40562d7f5c
commit 1b16fed56a
1 changed files with 2 additions and 1 deletions

View File

@ -87,8 +87,9 @@ public int compare(Ref r1, Ref r2) {
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);