Re: [PATCH] add receive.denyNonFastforwards config variable
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 8 quoted lines
> If receive.denyNonFastforwards is set to true, git-receive-pack will deny
> non fast-forwards, i.e. forced updates. Most notably, a push to a repository
> which has that flag set will fail.
>
> As a first user, 'git-init-db --shared' sets this flag, since in a shared
> setup, you are most unlikely to want forced pushes to succeed.
>
> Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Looks good. Care to do a handful more tasks before we forget?
Documentation/git-init-db.txt
Documentation/config.txt
Documentation/git-receive-pack.txt
t/t5400-send-pack.sh or a new test t/t5401-push-into-shared-repo.sh