diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java index a94d37ff8..bceb7f46c 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ShowDirCache.java @@ -2,6 +2,7 @@ * Copyright (C) 2008, Google Inc. * Copyright (C) 2008, Jonas Fonseca * Copyright (C) 2008, Shawn O. Pearce + * Copyright (C) 2011, Matthias Sohn * and other copyright owners as documented in the project's IP log. * * This program and the accompanying materials are made available @@ -65,6 +66,7 @@ class ShowDirCache extends TextBuiltin { final FileMode mode = FileMode.fromBits(ent.getRawMode()); final int len = ent.getLength(); final Date mtime = new Date(ent.getLastModified()); + final int stage = ent.getStage(); out.print(mode); out.format(" %6d", len); @@ -72,6 +74,8 @@ class ShowDirCache extends TextBuiltin { out.print(fmt.format(mtime)); out.print(' '); out.print(ent.getObjectId().name()); + out.print(' '); + out.print(stage); out.print('\t'); out.print(ent.getPathString()); out.println();