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.
This commit is contained in:
parent
c12e49ecbf
commit
4aef95e205
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue