Re: [PATCH 1/4] Build in git-repack

2013-08-07 Thread Duy Nguyen
On Wed, Aug 7, 2013 at 10:48 PM, Junio C Hamano wrote: > Matthieu Moy writes: > >> [ It's cool you're working on this, I'd really like a git-repack in C. >> That would fix this >> http://thread.gmane.org/gmane.comp.version-control.git/226458 ] >> >> Stefan Beller writes: >> >>> From: Nguyễn

Re: [PATCH 1/4] Build in git-repack

2013-08-07 Thread Stefan Beller
On 08/07/2013 05:48 PM, Junio C Hamano wrote: > Matthieu Moy writes: >> >> seems overkill to me: why don't you just let cmd_repack call >> update_server_info(0)? > > My feeling exactly. I would rather see a patch that does not touch > pack-objects at all, and use run_command() interface to spawn

Re: [PATCH 1/4] Build in git-repack

2013-08-07 Thread Junio C Hamano
Matthieu Moy writes: > [ It's cool you're working on this, I'd really like a git-repack in C. > That would fix this > http://thread.gmane.org/gmane.comp.version-control.git/226458 ] > > Stefan Beller writes: > >> From: Nguyễn Thái Ngọc Duy >> >> pack-objects learns a few more options to tak

Re: [PATCH 1/4] Build in git-repack

2013-08-07 Thread Matthieu Moy
[ It's cool you're working on this, I'd really like a git-repack in C. That would fix this http://thread.gmane.org/gmane.comp.version-control.git/226458 ] Stefan Beller writes: > From: Nguyễn Thái Ngọc Duy > > pack-objects learns a few more options to take over what's been done > by git-rep

[PATCH 1/4] Build in git-repack

2013-08-07 Thread Stefan Beller
From: Nguyễn Thái Ngọc Duy pack-objects learns a few more options to take over what's been done by git-repack.sh. cmd_repack() becomes a wrapper around cmd_pack_objects(). --- Makefile | 2 +- builtin.h | 1 + builtin/pack-objects.c | 279 ++