git/branch: preserve checked in permissions on branch update

we need to copy the files, and we should copy them with the
permissions that exist in the repo.
Ori Bernstein 2021-06-13 01:20:46 +00:00
parent c12e49ecbf
commit 4aef95e205
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ for(m in $cleanpaths){
rm -rf .git/index9/tracked/$m
}
if(~ $b file){
cp $basedir/tree/$m $m
cp -x $basedir/tree/$m $m
walk -eq $m > .git/index9/tracked/$m
}
}