ref: 10532b3cf050139c7b9695d5f3a83f15b3646261
parent: ec51b02e376ba606fdaf4f8ee8697a9ca3e30c71
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=''
}
--
⑨