Re: [PATCH 1/7] check_ref_format(): tighten refname rules
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 22, 2009, 14:41 UTC
- Message-ID
- <alpine.DEB.1.00.0903221539060.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <1237673619-12608-2-git-send-email-gitster@pobox.com>
Hi,
On Sat, 21 Mar 2009, Junio C Hamano wrote:
> Yes, I know that tightening rules retroactively is bad, but this changes > the rules for refnames to forbid:
Tightening rules retroactively is not only bad (if sometimes necessary), but tightening rules without giving the user a chance to recover is really bad.
'git branch -m' uses check_ref_format() to check the old name.
OTOH, a _warning_ should be plenty enough in most cases, and _not_ share the shortcomings with tightening.
Ciao, Dscho