Add geef_commit:tree_id

This commit is contained in:
Carlos Martín Nieto
2013-02-17 21:25:32 +01:00
parent d71c6ff702
commit 6d34f99520
6 changed files with 47 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
lookup(#repo{handle=Repo}, #oid{oid=Oid}) ->
case geef:object_lookup(Repo, Oid) of
{ok, Type, Handle} ->
#object{type=Type, handle=Handle};
{ok, #object{type=Type, handle=Handle}};
Other ->
Other
end.