webapp: When setting up a bare shared repository, enable non-fast-forward pushes.

This commit is contained in:
Joey Hess 2013-10-26 13:06:43 -04:00
parent 0c0e0e5550
commit 0dfe604ddc
4 changed files with 20 additions and 1 deletions

View file

@ -285,3 +285,11 @@ Everything up-to-date
# End of transcript or log.
"""]]
> So, receive.denyNonFastforwards was the problem. It turns out that
> `git init --bare --shared` sets that by default, and the webapp
> uses that to create repositories on ssh server. I have made the webapp
> unset receive.denyNonFastforwards when setting up such a repository.
>
> Also added something to the assistant release notes about this
> to handle existing repositories. [[done]] --[[Joey]]