diff options
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/WriteReftable.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/WriteReftable.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/WriteReftable.java index 6cbc1b082b..0320ed1174 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/WriteReftable.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/WriteReftable.java @@ -128,9 +128,9 @@ class WriteReftable extends TextBuiltin { cfg.setMaxIndexLevels(indexLevels); } - ReftableWriter w = new ReftableWriter(cfg); + ReftableWriter w = new ReftableWriter(cfg, os); w.setMinUpdateIndex(min(logs)).setMaxUpdateIndex(max(logs)); - w.begin(os); + w.begin(); w.sortAndWriteRefs(refs); for (LogEntry e : logs) { w.writeLog(e.ref, e.updateIndex, e.who, |