final File file = File.createTempFile( "gitz", "woot" );
return new FilterOutputStream( new FileOutputStream( file ) ) {
public void close() throws java.io.IOException {
super.close();
commit( gPath, buildCommitInfo( null, Arrays.asList( options ) ), new DefaultCommitContent( new HashMap<String, File>() {{
put( gPath.getPath(), file );
}} ) );
}
};
} catch ( java.io.IOException e ) {