aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..side
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-04-20 17:09:09 -0400
committerJunio C Hamano <gitster@pobox.com>2017-04-20 21:04:15 -0700
commitd9c69644b27eb59fe16c1931580e6fce4abbdc65 (patch)
tree71ecd47a9565debbbfe144c4f3edfe631f905f07 /t/t4013/diff.format-patch_--inline_--stdout_initial..side
parentuse git_path_* helper functions (diff)
downloadgit-d9c69644b27eb59fe16c1931580e6fce4abbdc65.tar.gz
git-d9c69644b27eb59fe16c1931580e6fce4abbdc65.zip
replace xstrdup(git_path(...)) with git_pathdup(...)
It's more efficient to use git_pathdup(), as it skips an extra copy of the path. And by removing some calls to git_path(), it makes it easier to audit for dangerous uses. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..side')
0 files changed, 0 insertions, 0 deletions