git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Managing websites with git

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 2, 2008, 19:07 UTC
Message-ID
<7vd4gapf91.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20081202165507.GA15826@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 9 quoted lines
> On Tue, Dec 02, 2008 at 10:55:34AM -0500, Jason Riedy wrote:
>
>> Ah, ok, thanks!  Issuing a warning makes sense.  I'm not sure if
>> denying such a push by default does...
> ...
> It shouldn't make you change how you work. At most, it will break an
> existing setup until you set receive.denycurrentbranch to false (again,
> if and when the default value changes). You can prepare for any such
> change now by pre-emptively setting the config value.
True.

But "pre-emptively" is a bit misleading. Please realize that the warning is not about "this is a risky thing to do, you've been warned", but is about "the behaviour to allow this may change in the future; if you rely on it please set this config before that happens". We may end up not flipping the default for a long time, but setting the config also has the side effect of squelching the warning, so it never hurts to set it now.

Previous: Jeff KingNext: Leo Razoumov
Message 8 of 10 in “Managing websites with git”
  1. Felix AndersenNov 30, 2008
  2. David BrysonNov 30, 2008
  3. Jeff KingNov 30, 2008
  4. Jason RiedyDec 2, 2008
  5. Jeff KingDec 2, 2008
  6. Jason RiedyDec 2, 2008
  7. Jeff KingDec 2, 2008
  8. Junio C HamanoDec 2, 2008
  9. Leo RazoumovDec 2, 2008
  10. Todd A. JacobsJan 3, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.