Git development
 help / color / mirror / Atom feed
* sparse-checkout --no-cone deprecation {TGO}
@ 2022-07-04 16:39 ALEPINS Etienne
  2022-07-04 18:51 ` Elijah Newren
  0 siblings, 1 reply; 2+ messages in thread
From: ALEPINS Etienne @ 2022-07-04 16:39 UTC (permalink / raw)
  To: git@vger.kernel.org

Classification: OPEN {TGO}
Hi,

Git 2.37.0 sparse-checkout documentation says the non-cone mode will be deprecated. I think this is a bad idea: I don't see other means than the non-cone mode to only keep some of the files inside a directory. The cone mode allows to select/hide whole directories without giving control to select/hide specific files inside selected directories. I understand --no-cone mode may disable other features (e.g. sparse index), but that is ok with me.
I have people in my team coming from SVN which offered the option to include only some files of a repo. Git submodule + sparse-checkout --no-cone is a near equivalent that should be kept available. My goal is that on disk, the submodule contains only some of its files.

Thanks,
Etienne

________________________________

AVIS IMPORTANT : Ce courriel est strictement réservé à l'usage de la (des) personne(s) à qui il est adressé. Ce courriel peut contenir de l'information confidentielle. Aussi, toute divulgation, distribution, copie, ou autre utilisation de ce courriel par une autre personne que son destinataire est strictement prohibée. Si vous n’êtes pas le destinataire ou un employé ou un agent responsable de remettre ce message à son destinataire, veuillez s'il vous plaît communiquer immédiatement avec l'expéditeur et détruire ce courriel ainsi que toute copie que vous pourriez détenir. ATTENTION : Les courriels ne sont pas sécuritaires s’ils ne sont pas cryptés de façon appropriée. Il est possible que des courriels soient interceptés ou affectés par un virus. Bien qu’une surveillance antivirus soit effectuée à l’égard de tous nos courriels, nous n’acceptons aucune responsabilité pour des virus ou tout autre élément de dommage pouvant être introduits avec ce message.

WARNING : This message is intended only for the named recipients. This message may contain information that is confidential. Any dissemination, copying, or use of this message or its contents by anyone other than the named recipient is strictly prohibited. If you are not a named recipient or an employee or agent responsible for delivering this message to a named recipient, please notify the sender immediately, and immediately destroy this message and any copies you may have. WARNING: Email may not be secure unless properly encrypted. It is possible for e-mails to be intercepted or affected by viruses. While we maintain virus checks on all e-mails, we accept no liability for viruses or other material introduced with this message.

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

end of thread, other threads:[~2022-07-04 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-04 16:39 sparse-checkout --no-cone deprecation {TGO} ALEPINS Etienne
2022-07-04 18:51 ` Elijah Newren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox