ref: 566a38b1aa0c7243a1a890a1d7bafdd7a8c8d4d2
parent: 21c9d0df17b48a54b6c76b7843f31f73d7eab073
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Aug 24 20:17:12 EDT 2025
git/common.rc: redirect stdout to stderr when piping, we don't want to leak fd1 into the file system, and we don't want fs output to pollute the input of the next proc.
--- a/sys/lib/git/common.rc
+++ b/sys/lib/git/common.rc
@@ -116,7 +116,7 @@
if(! grep -s '^repo '$gitroot'$' $gitfs/ctl >[2]/dev/null)
startfs=true
if(~ $#startfs 1)
- git/fs
+ git/fs >[1=2]
if not
status=''
}
--
⑨