Re: [PATCH 1/3] repack: rewrite the shell script in C

2013-09-17 Thread Junio C Hamano
Stefan Beller writes: > On 09/17/2013 08:17 PM, Junio C Hamano wrote: >> Stefan Beller writes: >> >>> + struct option builtin_repack_options[] = { >>> + OPT_BIT('a', NULL, &pack_everything, >>> + N_("pack everything in a single pack"), >>> ALL_INTO_ONE), >

Re: [PATCH 1/3] repack: rewrite the shell script in C

2013-09-17 Thread Stefan Beller
On 09/17/2013 08:17 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> +struct option builtin_repack_options[] = { >> +OPT_BIT('a', NULL, &pack_everything, >> +N_("pack everything in a single pack"), >> ALL_INTO_ONE), >> +OPT_BIT('A', N

Re: [PATCH 1/3] repack: rewrite the shell script in C

2013-09-17 Thread Junio C Hamano
Stefan Beller writes: > + struct option builtin_repack_options[] = { > + OPT_BIT('a', NULL, &pack_everything, > + N_("pack everything in a single pack"), > ALL_INTO_ONE), > + OPT_BIT('A', NULL, &pack_everything, > +

Re: [PATCH 1/3] repack: rewrite the shell script in C

2013-09-17 Thread Junio C Hamano
Ramkumar Ramachandra writes: > Is $GIT_OBJECT_DIRECTORY a standard variable, or should it be > $GIT_DIR/objects? "man git" ;-) It has been there since early May 2005 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH 1/3] repack: rewrite the shell script in C

2013-09-15 Thread Ramkumar Ramachandra
Stefan Beller wrote: > Makefile | 2 +- > builtin.h | 1 + > builtin/repack.c | 387 > + > contrib/examples/git-repack.sh | 194 + > git-repack.sh | 194 --

[PATCH 1/3] repack: rewrite the shell script in C

2013-09-15 Thread Stefan Beller
The motivation of this patch is to get closer to a goal of being able to have a core subset of git functionality built in to git. That would mean * people on Windows could get a copy of at least the core parts of Git without having to install a Unix-style shell * people using git in on serve