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

Re: [ANNOUNCE] GIT 1.6.2-rc0

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Feb 8, 2009, 08:23 UTC
Message-ID
<vpqprhte3rs.fsf@bauges.imag.fr>
In-Reply-To
<7vvdrlsyjm.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 7 quoted lines
> GIT v1.6.2 Release Notes (draft)
> ================================
>
> With the next major release, "git push" into a branch that is
> currently checked out will be refused by default.  You can choose
> what should happen upon such a push by setting the configuration
> variable receive.denyCurrentBranch in the receiving repository.

Perhaps this paragraph should tell _why_ this is a dangerous operation. There's probably a better wording, but what about

---- 8< --- With the next major release, "git push" into a branch that is currently checked out will be refused by default: Pushing to a checked-out branch changes the HEAD for this branch, and would confuse further local operations in the target repository.

You can choose what should happen [...] ---- 8< ---

?
-- 
Matthieu
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “[ANNOUNCE] GIT 1.6.2-rc0”
  1. Junio C HamanoFeb 7, 2009
  2. Matthieu MoyFeb 8, 2009
  3. Junio C HamanoFeb 8, 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.