summaryrefslogtreecommitdiff
path: root/t/lib-read-tree.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2015-08-10 05:32:22 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-10 15:15:41 -0700
commitf5895fd399855e782ed0f86f1ac0531517efa0d9 (patch)
tree6760d59bcb5873a737066f26bf562eb5da4d805b /t/lib-read-tree.sh
parentcache.h: clarify documentation for git_path, et al (diff)
downloadtgif-f5895fd399855e782ed0f86f1ac0531517efa0d9.tar.xz
cache.h: complete set of git_path_submodule helpers
The git_path function has "git_pathdup" and "strbuf_git_path" variants, but git_submodule_path only comes in the dangerous, static-buffer variant. That makes refactoring callers to use the safer functions hard (since they don't exist). Since we're already using a strbuf behind the scenes, it's easy to expose all three of these interfaces with thin wrappers. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-read-tree.sh')
0 files changed, 0 insertions, 0 deletions