summaryrefslogtreecommitdiff
path: root/builtin/replace.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2013-12-17 18:22:31 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-18 15:53:56 -0800
commit4454e9cb5994467fb1a6b60b3b2637fd4ff76ac0 (patch)
tree0ac7c0d03961deb3caee364bb680de7360e2b62e /builtin/replace.c
parentprune-packed: use strbuf to avoid having to worry about PATH_MAX (diff)
downloadtgif-4454e9cb5994467fb1a6b60b3b2637fd4ff76ac0.tar.xz
builtin/prune.c: use strbuf to avoid having to worry about PATH_MAX
While at it, rename prune_tmp_object(), which used to be a helper to remove temporary files that were created to become loose object files, to prune_tmp_file(), as the function is also used to remove any random cruft whose name begins with tmp_ directly in .git/object or .git/object/pack directories these days. Noticed-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/replace.c')
0 files changed, 0 insertions, 0 deletions