Create a mirror for any repository in local drive using --mirror option
Sync the mirror
Now create another directory and try to init repo there using local mirror drive
For that I use --reference option to provide the path of mirror drive.
It gives error: object directory not found.
I have tried DOS format path in --reference option
I have also tried other formats for mirror path, in that case the error goes away but it does not reduce the sync time. If local mirror is used then sync time should be very low (at least half), but it is same as using without mirror.
Reproduction steps:
Create a mirror for any repository in local drive using --mirror option
Sync the mirror
Now create another directory and try to init repo there using local mirror drive
For that I use --reference option to provide the path of mirror drive.
It gives error: object directory not found.
I have tried DOS format path in --reference option
I have also tried other formats for mirror path, in that case the error goes away but it does not reduce the sync time. If local mirror is used then sync time should be very low (at least half), but it is same as using without mirror.
Please help.