git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] GIT 1.6.2-rc0
Date: Sun, 08 Feb 2009 09:23:03 +0100	[thread overview]
Message-ID: <vpqprhte3rs.fsf@bauges.imag.fr> (raw)
In-Reply-To: <7vvdrlsyjm.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Sat\, 07 Feb 2009 13\:54\:37 -0800")

Junio C Hamano <gitster@pobox.com> writes:

> 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

  reply	other threads:[~2009-02-08  8:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 21:54 [ANNOUNCE] GIT 1.6.2-rc0 Junio C Hamano
2009-02-08  8:23 ` Matthieu Moy [this message]
2009-02-08  9:43   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqprhte3rs.fsf@bauges.imag.fr \
    --to=matthieu.moy@imag.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).