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

Make `init` more proactive in reporting errors #55

Closed vdye closed 1 year ago

vdye commented 1 year ago

Closes #35

This pull request fixes the remaining item in #35 (git-bundle-server init behaves incorrectly when the specified route already exists). The update to fix this revealed a different bug affecting usage of ReadRepositoryStorage() (repair and, as of this PR, init) when the bundle server directory structure hasn't been created yet.