symbolit-ref: fix resolve_ref conversion.
commitcc4c4f0ce25cc3803197bc19c275fd6f59a2a511
authorJunio C Hamano <junkio@cox.net>
Thu, 21 Sep 2006 04:10:17 +0000 (20 21:10 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 21 Sep 2006 04:10:17 +0000 (20 21:10 -0700)
tree1d2661dba1c8136e38e05745d43fe103f9b03df4
parent53cce84c05d3cba237ab45540b1e882be9c97215
symbolit-ref: fix resolve_ref conversion.

An earlier conversion accidentally hardcoded "HEAD" to be passed to
resolve_ref(), thereby causing git-symbolic-ref command to always
report where the HEAD points at, ignoring the command line parameter.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-symbolic-ref.c