]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/repack.c
repack: call prune_packed_objects() and update_server_info() directly
authorRené Scharfe <l.s.r@web.de>
Sat, 13 Sep 2014 07:28:01 +0000 (09:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2014 18:39:58 +0000 (11:39 -0700)
commit4489a480fdfe53e1ca78eabdab2dee00376814a3
tree73cae0b615a98b171c5c993d1dcd167aa920c6b8
parent3907a4078a89cffde2e2e0e61a3bd41efba96c49
repack: call prune_packed_objects() and update_server_info() directly

Call the functions behind git prune-packed and git update-server-info
directly instead of using run_command().  This is shorter, easier and
quicker.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c