Code

resolve_ref(): do not follow incorrectly-formatted symbolic refs
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 15 Sep 2011 21:10:36 +0000 (23:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2011 20:45:31 +0000 (13:45 -0700)
commit313fb010da4343eca22ee48a2cc18048d999de53
tree18c79b386041e5aabee16bfd81569a0eb5478cd1
parentc224ca7f66bf88bf933d05ecbc163b5bbb152098
resolve_ref(): do not follow incorrectly-formatted symbolic refs

Emit a warning and fail if a symbolic reference refers to an
incorrectly-formatted refname.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c