Bug: receive.denyCurrentBranch fails if core.bare unset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]