Re: [PATCH] symbolic-ref: check format of given reference
- From
- Michael Schubert <mschub@elegosoft.com>
- Date
- Jun 18, 2012, 12:02 UTC
- Message-ID
- <4FDF18E5.7020908@elegosoft.com>
- In-Reply-To
- <7vaa017j51.fsf@alter.siamese.dyndns.org>
On 06/17/2012 10:55 PM, Junio C Hamano wrote:
Show 11 quoted lines
> Michael Schubert <mschub@elegosoft.com> writes: > >> This was discussed earlier this year: >> >> http://thread.gmane.org/gmane.comp.version-control.git/189715 >> >> What about pointing at non-existing references? Should this >> still be allowed? > > How else would you reimplement "checkout --orphan" in your own > Porcelain using symbolic-ref?
Forgot about that.
Show 6 quoted lines
>> >> Additionally, I had to reindent two lines to make git-am happy >> (indent with spaces). > > I doubt that it is needed; the '-' lines show runs of HT followed by > fewer than 8 SP, which should not trigger "indent with spaces".
I've only noticed because git-am was telling me when I tried to apply the patch.? Am I missing something?