[PATCH] cg-diff fixed to work with BSD xargs

2005-08-30 Thread Martin Langhoff
Calls to cg-diff without filename parameters were dependent on GNU xargs traits. BSD xargs is hardcoded to do --no-run-if-empty -- so if the filter is effectively empty we avoid calling xargs. Signed-off-by: Martin Langhoff [EMAIL PROTECTED] --- cg-diff |6 +- 1 files changed, 5

Re: [PATCH] cg-diff fixed to work with BSD xargs

2005-08-30 Thread Junio C Hamano
Martin Langhoff [EMAIL PROTECTED] writes: Calls to cg-diff without filename parameters were dependent on GNU xargs traits. BSD xargs is hardcoded to do --no-run-if-empty -- so if the filter is effectively empty we avoid calling xargs. Signed-off-by: Martin Langhoff [EMAIL PROTECTED] The fix