From da7a070522cdd2b8a05914d0273bd350a067c5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sat, 31 Aug 2013 14:49:11 +0200 Subject: [PATCH] A refname is always a binary --- src/geef_ref.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geef_ref.erl b/src/geef_ref.erl index 70fe0d0..d6beb8f 100644 --- a/src/geef_ref.erl +++ b/src/geef_ref.erl @@ -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).