A refname is always a binary

This commit is contained in:
Carlos Martín Nieto
2013-08-31 14:49:11 +02:00
parent b8f282a201
commit da7a070522

View File

@@ -97,4 +97,4 @@ shorthand(<<"refs/remotes/", Rest/binary>>) ->
shorthand(<<"refs/", Rest/binary>>) ->
Rest;
shorthand(#geef_reference{name=Name}) ->
shorthand(iolist_to_binary(Name)).
shorthand(Name).