diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-11 02:28:03 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-29 10:15:00 -0700 |
commit | acd2a45b83e50c0f33b01ee74df241f1adfdff39 (patch) | |
tree | 2dd1dd6c6c0630ebb43b88e1cbd8256ebbd83659 /t/t6020-merge-df.sh | |
parent | Start 1.6.5 cycle (diff) | |
download | tgif-acd2a45b83e50c0f33b01ee74df241f1adfdff39.tar.xz |
Refuse updating the current branch in a non-bare repository via push
This makes git-push refuse pushing into a non-bare repository to update
the current branch by default. To help people who are used to be able to
do this (and later "reset --hard" it in some other way), an error message
is issued when this refusal is triggered, instructing how to resurrect the
old behaviour.
Hosting sites that do not give the users direct access to customize their
repositories (e.g. repo.or.cz, gitorious, github etc.) may further want to
explicitly set the configuration variable to "refuse" for their customers'
repositories.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6020-merge-df.sh')
0 files changed, 0 insertions, 0 deletions