diff --git a/sys/lib/git/common.rc b/sys/lib/git/common.rc index dbcef04bf..edb95f7d1 100644 --- a/sys/lib/git/common.rc +++ b/sys/lib/git/common.rc @@ -40,7 +40,8 @@ fn present { } # merge1 out theirs base ours -fn merge1 { +fn merge1 {@{ + rfork e n=$pid out=$1 theirs=$2 @@ -59,7 +60,7 @@ fn merge1 { if(! test -f $theirs) theirs=/dev/null if(! ape/diff3 -3 -m $ours $base $theirs > $tmp) - echo merge needed: $out + echo merge needed: $out >[1=2] if(present $ours $base $theirs){ mv $tmp $out @@ -69,6 +70,7 @@ fn merge1 { rm -f $tmp $out git/rm $out } + } } fn gitup{