commit | 275721c2671800a905e873e58be2f1c2f313bf88 | [log] [tgz] |
---|---|---|
author | David Turner <dturner@twopensource.com> | Wed May 20 13:03:38 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Wed May 20 13:45:49 2015 -0700 |
tree | 562325f6f6376c088ca6d91511a1e7961800453f | |
parent | 8440f74997cf7958c7e8ec853f590828085049b8 [diff] |
tree-walk: learn get_tree_entry_follow_symlinks Add a new function, get_tree_entry_follow_symlinks, to tree-walk.[ch]. The function is not yet used. It will be used to implement git cat-file --batch --follow-symlinks. The function locates an object by path, following symlinks in the repository. If the symlinks lead outside the repository, the function reports this to the caller. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>