Re: [PATCH] clone: allow initial sparse checkouts
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 24, 2014, 17:47 UTC
- Message-ID
- <xmqqzjlg9zdn.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <robbat2-20140223T204934-225383635Z@orbis-terrarum.net>
"Robin H. Johnson" <robbat2@gentoo.org> writes:
> The only other clean alternative would be implementing ONLY > --sparse-checkout-from, and letting uses use fds creatively: > --sparse-checkout-from <(echo X; echo Y)
Not all POSIX shells have such an abomination that is process substitution. You can easily work it around by adopting the usual convention to use "-" to read from the standasrd input, though.
(echo X; echo Y) | cmd --sparse-checkout-from -