diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ShowRef.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ShowRef.java index d319759ed..b8442c5a5 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ShowRef.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/ShowRef.java @@ -60,8 +60,9 @@ class ShowRef extends TextBuiltin { try { for (Ref r : getSortedRefs()) { show(r.getObjectId(), r.getName()); - if (r.getPeeledObjectId() != null) + if (r.getPeeledObjectId() != null) { show(r.getPeeledObjectId(), r.getName() + "^{}"); //$NON-NLS-1$ + } } } catch (IOException e) { throw die(e.getMessage(), e);