Re: [RFC PATCH] repack: rewrite the shell script in C.
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Aug 15, 2013, 04:15 UTC
- Message-ID
- <CACsJy8AZ+xLURszWni1wdZw7e6ZvE0je9_ELcj6gCzaEyNNLmQ@mail.gmail.com>
- In-Reply-To
- <201308141125.59991.mfick@codeaurora.org>
On Thu, Aug 15, 2013 at 12:25 AM, Martin Fick <mfick@codeaurora.org> wrote:
Show 8 quoted lines
> The script really is mostly a policy script, and with the > discussions happening in other threads about how to improve > git gc, I think it is helpful to potentially be able to > quickly modify the policies in this script, it makes it > easier to prototype things. Shell portability issues aside, > this script is not a low level type of tool that I feel will > benefit from being in C, I feel it will in fact be worse off > in C,
I think C is better for the modification you made in git-exproll.sh, if it gets merged to git-repack.sh. Such calculations are not a strong point of shell scripting. git-repack.sh is still around for experimenting, although I think perl, ruby or python is better than shell for prototyping.
-- Duy