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.
parent
c12e49ecbf
commit
4aef95e205
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue