]> source.dussan.org Git - jgit.git/commit
Enhance FS.runProcess() to support stdin-redirection and binary data 71/50371/10
authorChristian Halstrick <christian.halstrick@sap.com>
Wed, 17 Jun 2015 12:54:11 +0000 (14:54 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 2 Nov 2015 21:19:47 +0000 (22:19 +0100)
commit67a77d402aa4bab609cb639fee9d18f42aed1d59
treea9cd5551bd22b9f12c813ed06facf4c450e18721
parent8473bc4f8d2d69ca8aa3b4889660ed17d08f2270
Enhance FS.runProcess() to support stdin-redirection and binary data

In order to support filters in gitattributes FS.runProcess() is made
public. Support for stdin redirection has been added. Support for binary
data on stdin/stdout (as used be clean/smudge filters) has been added.

Change-Id: Ice2c152e9391368dc5748d7b825a838e3eb755f9
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/RunExternalScriptTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java