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