]> source.dussan.org Git - jgit.git/commit
Added API to TextBuiltin for piped usage. 50/104050/4
authorNed Twigg <ned.twigg@diffplug.com>
Fri, 18 Mar 2016 07:11:04 +0000 (00:11 -0700)
committerNed Twigg <ned.twigg@diffplug.com>
Thu, 21 Sep 2017 18:48:45 +0000 (14:48 -0400)
commitc1fbef3cab782db50b79fac0bb6d892231acf8f5
treebe5e3eccce7ca1fc459df9e1e8a520abbaab2e60
parente32aed6d7536ca569a3b8fbd7daef3d7c827ce8c
Added API to TextBuiltin for piped usage.

Added a public method to TextBuiltin which makes it possible for
clients to initialize all of its state, including output and error
streams.  This gives clients the ability to customize the way in
which a command is run.

Change-Id: If718236964d2c5cf869e120c74f1a12965f4812e
Signed-off-by: Ned Twigg <ned.twigg@diffplug.com>
org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/TextBuiltinTest.java [new file with mode: 0644]
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/TextBuiltin.java