Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sequencer: avoid using errno clobbered by rollback_lock_file()
[gitweb.git]
/
tree-walk.c
diff --git
a/tree-walk.c
b/tree-walk.c
index b7e504070caf75bc7fb41c23717dabc3fe424431..e11b3063afa610239162dc45c24528dd144c4759 100644
(file)
--- a/
tree-walk.c
+++ b/
tree-walk.c
@@
-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(¤t_tree_oid
, &type,
+
&link_len);
if (!contents)
goto done;