git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: ALEPINS Etienne <Etienne.ALEPINS@thalesgroup.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: sparse-checkout --no-cone deprecation {TGO}
Date: Mon, 4 Jul 2022 16:39:37 +0000	[thread overview]
Message-ID: <9817efb01cf644e19d53ad89712093fc@thalesgroup.com> (raw)

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.

             reply	other threads:[~2022-07-04 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 16:39 ALEPINS Etienne [this message]
2022-07-04 18:51 ` sparse-checkout --no-cone deprecation {TGO} Elijah Newren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9817efb01cf644e19d53ad89712093fc@thalesgroup.com \
    --to=etienne.alepins@thalesgroup.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).