From: Alban Crequy <alban.crequy@collabora.co.uk>
To: git@vger.kernel.org
Cc: Alban Crequy <alban.crequy@collabora.co.uk>
Subject: Bug: receive.denyCurrentBranch fails if core.bare unset
Date: Fri, 12 Jun 2009 18:53:18 +0300 [thread overview]
Message-ID: <20090612185318.42e738c6@alban.research.nokia.com> (raw)
Hi,
When I set "receive.denyCurrentBranch" to "refuse", it still have the
behavior of ignore. On newly created repository, core.bare is always
set, but I had a old non-bare repository where it is unset. With
core.bare unset, rev-parse --is-bare-repository returns true in .git,
but false in the worktree.
What should be the right fix for this problem? Adding in the
documentation of receive.denyCurrentBranch that setting
core.bare explicitely is highly recommended ?
Br,
Alban
reply other threads:[~2009-06-12 16:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090612185318.42e738c6@alban.research.nokia.com \
--to=alban.crequy@collabora.co.uk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).