On Sat, Nov 8, 2008 at 8:49 PM, Jeff King <peff@xxxxxxxx> wrote: > The behavior is configurable via receive.denyCurrentBranch, > defaulting to "warn" so as not to break existing setups > (though it may, after a deprecation period, switch to > "refuse" by default). For users who know what they are doing > and want to silence the warning (e.g., because they have a > post-receive hook that reconciles the HEAD and working > tree), they can turn off the warning by setting it to false > or "ignore". Hmm, I wonder if it would be possible to also add a "detach" variant; which would create a detached-HEAD at the current commit when automatically receiving a push to the working branch. I have a post-receive script that does so right now on a couple repositories. It's still a little confusing to someone actively working in the repository being pushed to, but it's much easier to explain than the current default behavior. Cheers, Kyle Moffett -- 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