diff options
author | Jeff King <peff@peff.net> | 2013-12-17 18:22:31 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-18 15:53:56 -0800 |
commit | 4454e9cb5994467fb1a6b60b3b2637fd4ff76ac0 (patch) | |
tree | 0ac7c0d03961deb3caee364bb680de7360e2b62e /builtin/get-tar-commit-id.c | |
parent | prune-packed: use strbuf to avoid having to worry about PATH_MAX (diff) | |
download | tgif-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/get-tar-commit-id.c')
0 files changed, 0 insertions, 0 deletions