git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sparse checkout : ignore paths
@ 2017-01-23 11:45 Tushar Kapila
  2017-01-23 15:13 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Tushar Kapila @ 2017-01-23 11:45 UTC (permalink / raw)
  To: git

When we clone/ pull with : config core.sparsecheckout true

We can specify paths to include. Would be good to explicitly specify
paths to exclude too. So I can include want/
but exclude want/bin/

Similar to .git/info/sparse-checkout can we have a
.git/info/sparse-ignore-checkout optional file?

Logic would be to see if a path matches that is in
.git/info/sparse-checkout then see if its flagged in
.git/info/sparse-ignore-checkout , do not download if blocked in
.git/info/sparse-ignore-checkout. If the file does not exist, then
nothing ignored.

Regards,
Tushar Kapila

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-23 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23 11:45 sparse checkout : ignore paths Tushar Kapila
2017-01-23 15:13 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).