Re: [PATCH] repack: call prune_packed_objects() and update_server_info() directly

2014-09-13 Thread Jeff King
On Sat, Sep 13, 2014 at 09:28:01AM +0200, René Scharfe wrote: > Call the functions behind git prune-packed and git update-server-info > directly instead of using run_command(). This is shorter, easier and > quicker. It can also introduce bugs, since a lot of git code assumes it is running in a s

Re: [PATCH] repack: call prune_packed_objects() and update_server_info() directly

2014-09-13 Thread Stefan Beller
On 13.09.2014 09:28, René Scharfe wrote: > 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 Thanks for cleaning up the literal rewrite of the shell script and m

[PATCH] repack: call prune_packed_objects() and update_server_info() directly

2014-09-13 Thread René Scharfe
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 --- builtin/repack.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/built