rebase: fix documentation formatting
[gitweb.git] / tree-walk.c
index b7e504070caf75bc7fb41c23717dabc3fe424431..e11b3063afa610239162dc45c24528dd144c4759 100644 (file)
@@ -713,8 +713,8 @@ enum follow_symlinks_result get_tree_entry_follow_symlinks(unsigned char *tree_s
                         */
                        retval = DANGLING_SYMLINK;
 
-                       contents = read_sha1_file(current_tree_oid.hash, &type,
-                                                 &link_len);
+                       contents = read_object_file(&current_tree_oid, &type,
+                                                   &link_len);
 
                        if (!contents)
                                goto done;