Junio C Hamano wrote:
Junio C Hamano <[EMAIL PROTECTED]> writes:


The only user of "cp -l" in the Linus GIT is git-clone-script
local optimization.  I could revert it to the version that I
originally sent to the list, which uses cpio -pld, if your cpio
groks that flag.


Bryan, does this work for you?


Yes, it appears to work fine.

For the record, "${XARGS} -0r" may be uglier than "xargs -0r", but replacing it with several lines of shell magic is a loss. OTOH shell magic can be wrapped up into nice little functions. Certainly I'll appreciate being able to remove my coreutils and findutils dependency, but I think that assuming the user has gnu tools available somewhere is a reasonable assumption for tools of this type.

The tradeoff might be different for git and cogito. Cogito uses shell scripts more heavily and requires bash instead of Bourne. Certainly you've demonstrated that git can be made portable relatively cleanly. I doubt cogito will fall as easily.

But if you prefer to go this route, I'm happy with it.

Bryan
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to