]> gitweb.factorcode.org Git - factor.git/commitdiff
cli.git: revert process-contents patch.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 2 Apr 2020 16:53:56 +0000 (09:53 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 2 Apr 2020 16:53:56 +0000 (09:53 -0700)
extra/cli/git/git.factor

index b7c3c2dc3c247c663a96d13f1c3c79ff79c0c8fe..6d586586328831c65028280303b6793310977155 100644 (file)
@@ -10,7 +10,7 @@ SYMBOL: cli-git-num-parallel
 cli-git-num-parallel [ cpus 2 * ] initialize
 
 : git-command>string ( desc -- string )
-    process-contents [ blank? ] trim-tail ;
+    utf8 <process-reader> stream-contents [ blank? ] trim-tail ;
 
 : git-clone-as ( uri path -- process ) [ { "git" "clone" } ] 2dip 2array append run-process ;
 : git-clone ( uri -- process ) [ { "git" "clone" } ] dip suffix run-process ;