git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Q] How to check git features for compatability?
@ 2021-11-01 14:11 Dominik
  2021-11-01 14:20 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik @ 2021-11-01 14:11 UTC (permalink / raw)
  To: git

Hi,

Scenario: I want to offer a simple utility that (among other things)
automatically checks out git repositories. For that I want to use a
specific feature (that is `git clone --branch`).

Problem: Some user might have an old version of git where `git clone
--branch` is not supported at all, or not supported in the same way.

Q: How do I check which features which git version has? I fail to find
the (rather commonly seen) `changelog.md` on the official git
repository. Where should I look for a complete list? Is there a more
complete documentation that lists the "earliest supported version" or
some sort of "history of changes" for each of the git features, as is
commonly seen in the API documentation of other CLI tools (e.g.
https://nodejs.org/api/cli.html)?


(PS: First time user here. Let me know if this is how you participate
in this mailing list? I could not find any info on
question-asking-etiquette either?)

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

end of thread, other threads:[~2021-11-01 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-01 14:11 [Q] How to check git features for compatability? Dominik
2021-11-01 14:20 ` Ævar Arnfjörð Bjarmason

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).