Re: optimize gitdiff-do script

2005-04-18 Thread Paul Jackson
Pasky, Looks like a couple of questions I asked over the weekend got lost along the way. 1) How do you want me to fix the indentation on my patch to optimize gitdiff-do script: - forget my first patch and resend from scratch, or - a second patch restoring indentation, on top

Re: optimize gitdiff-do script

2005-04-18 Thread Petr Baudis
to it. ;-) 1) How do you want me to fix the indentation on my patch to optimize gitdiff-do script: - forget my first patch and resend from scratch, or - a second patch restoring indentation, on top of my first one. Resend from scratch, please. I cannot guarantee I will look

[PATCH] optimize gitdiff-do script

2005-04-16 Thread Paul Jackson
Rewrite gitdiff-do so that it works with arbitrary whitespace (space, tab, newline, ...) in filenames. Reduce number of subcommands execv'd by a third, by only calling 'rm' once, at end, not each loop. Avoid using shell arrays; perhaps more portable. Avoid 'echo -e' when displaying names; dont

Re: optimize gitdiff-do script

2005-04-16 Thread Paul Jackson
Petr wrote: Please don't reindent the scripts. It violates the current coding style and the patch is unreviewable. Sorry - I had not realized that there was a style in this case. I am all in favor of such coding styles, and will gladly fit this one. Do you want the patch resent, or a patch to