git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 -
Previous: Robin H. JohnsonNext: Robin H. Johnson
Message 6 of 8 in “clone: allow initial sparse checkouts”
  1. clone: allow initial sparse checkoutsRobin H. Johnson, Feb 23, 2014
  2. Duy NguyenFeb 23, 2014
  3. Robin H. JohnsonFeb 23, 2014
  4. Duy NguyenFeb 23, 2014
  5. Robin H. JohnsonFeb 23, 2014
  6. Junio C HamanoFeb 24, 2014
  7. Robin H. JohnsonFeb 24, 2014
  8. Junio C HamanoFeb 25, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.