11 Feb
2009
11 Feb
'09
10:10 p.m.
On Wed, Feb 11, 2009 at 5:31 PM, Aaron Griffin <aaronmgriffin@gmail.com> wrote:
On Wed, Feb 11, 2009 at 6:59 AM, Xavier <shiningxc@gmail.com> wrote:
On Wed, Feb 11, 2009 at 10:15 AM, Allan McRae <allan@archlinux.org> wrote:
I haven't looked at this in detail yet, but if this solution is more portable and has no feature loss, why not use it by default?
I had the same question :P
My guess would be optimization - that calling a C binary may be faster than a bash loop. Not sure though, just a guess.
readlink and realpath would be faster i think, but not sure if that really matters for repo-add. I'll submit a new patch later which will replace readlink and realpath with the bash implementation.