diff options
author | David Turner <dturner@twopensource.com> | 2015-05-20 20:03:38 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-05-20 23:45:49 +0300 |
commit | 275721c2671800a905e873e58be2f1c2f313bf88 (patch) | |
tree | 562325f6f6376c088ca6d91511a1e7961800453f /sha1_name.c | |
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>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions