Now by default the type of git repositories (bare or non bare) is chosen automatically using the first repository found in the directory. To force an specific format --bare and --non-bare can be used. Also the URL format now has 3 possible values for bare option: true, false and auto.
$ gitbase server --non-bare -d //dir/1
$ gitbase server -d 'file:///dir/1?bare=auto' -d 'file:///dir/1?bare=true'
[x] I updated the documentation explaining the new behavior if any.
[x] I updated CHANGELOG.md file adding the new feature or bug fix.
[x] I updated go-mysql-server using make upgrade command if applicable.
[x] I added or updated examples if applicable.
[x] I checked that changes on schema are reflected into the documentation, if applicable.
Now by default the type of git repositories (bare or non bare) is chosen automatically using the first repository found in the directory. To force an specific format
--bare
and--non-bare
can be used. Also the URL format now has 3 possible values forbare
option:true
,false
andauto
.make upgrade
command if applicable.