aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java
index e750e2dea8..d59451c55e 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/LsRemote.java
@@ -45,6 +45,8 @@
package org.eclipse.jgit.pgm;
+import java.io.IOException;
+
import org.kohsuke.args4j.Argument;
import org.kohsuke.args4j.Option;
import org.eclipse.jgit.lib.AnyObjectId;
@@ -77,10 +79,11 @@ class LsRemote extends TextBuiltin {
}
}
- private void show(final AnyObjectId id, final String name) {
- out.print(id.name());
- out.print('\t');
- out.print(name);
- out.println();
+ private void show(final AnyObjectId id, final String name)
+ throws IOException {
+ outw.print(id.name());
+ outw.print('\t');
+ outw.print(name);
+ outw.println();
}
}