grokmirror icon indicating copy to clipboard operation
grokmirror copied to clipboard

Allow for removing path prefixes on the client

Open thmo opened this issue 7 years ago • 1 comments

To be able to mirror server's foo/bar.git repo into /target/dir/bar.git on the client, an option to strip the initial foo/ part would be useful.

Note though, that this could lead to name clashes on the client, so the client would have to check for duplicates in the set of repositories to be written before actually doing the pull, and bail out.

thmo avatar Apr 24 '18 18:04 thmo

This would be tricky in many ways, due to the way references and symlinks work. I can see how this feature would be useful, but it's a non-trivial change.

mricon avatar Apr 24 '18 18:04 mricon