summaryrefslogtreecommitdiff
path: root/t/t4034/objc
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-05-22 16:33:52 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-24 13:19:22 -0700
commit360af2dadaae70f29de2f21d4eb8ac38aefcc263 (patch)
treef1be3a21d431e8e6321c00809d90a51169fdd222 /t/t4034/objc
parentcompletion: support git-worktree (diff)
downloadtgif-360af2dadaae70f29de2f21d4eb8ac38aefcc263.tar.xz
worktree.c: rewrite mark_current_worktree() to avoid strbuf
strbuf is a bit overkill for this function. What we need is to call absolute_path() twice and make sure the second call does not destroy the result of the first. One buffer allocation is enough. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Reviewed-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/objc')
0 files changed, 0 insertions, 0 deletions