git-ecosystem / git-bundle-server

A web server & management CLI to host Git bundles for use with Git's "bundle URIs" feature
Other
43 stars 20 forks source link

`git-bundle-server init` fails when route file parent directory doesn't exist #13

Closed vdye closed 1 year ago

vdye commented 1 year ago

On a fresh install, you can get this error:

$  git bundle-server init https://github.com/git/git
2023/02/09 09:41:57 Failed with error: failed to parse routes file

It can be fixed by running mkdir ~/git-bundle-server.