git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug: receive.denyCurrentBranch fails if core.bare unset
@ 2009-06-12 15:53 Alban Crequy
  0 siblings, 0 replies; only message in thread
From: Alban Crequy @ 2009-06-12 15:53 UTC (permalink / raw)
  To: git; +Cc: Alban Crequy

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-12 16:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 15:53 Bug: receive.denyCurrentBranch fails if core.bare unset Alban Crequy

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).