ref: 534525b7e75c37e7c7096e6f5ef0f309d4ce89b1
parent: d4cf8be779e7eab5fd6667ef870b6e620a1d9709
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Oct 17 11:35:47 EDT 2025
git: only switch branches after files are successfully updated copy paste error, we were updating the branch before we had actually copied out the files.
--- a/sys/src/cmd/git/branch
+++ b/sys/src/cmd/git/branch
@@ -87,8 +87,6 @@
cleanpaths=($cleanpaths $p)
}
-echo $commit > .git/$new
-
for(d in $deleted){
if(! test -d $d){
rm -f $d
--
⑨