diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-05-22 16:38:12 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-05-22 17:14:14 +0200 |
commit | 206ebecb67c18cac157007941a63cb31a767f30b (patch) | |
tree | db5164606046d6c6529abe29964b63cb90d2c0cc /share/man/just-import-git.1.org | |
parent | 11f45137307b2e87d7baad8a954b80fafab2eb59 (diff) | |
download | justbuild-206ebecb67c18cac157007941a63cb31a767f30b.tar.gz |
just-import-git: support assuming the canonical single-repo config
Add an option --plain pretending that the remote repository
configuration is the canonical single-repository one. In this way,
repositories not having a multi-repository configuration (e.g.,
code built with a foreign build system) can be imported in the same
way to a template, thus providing a more uniform interface. This
can also be useful, if a repository is to be imported completely
without its transitive dependencis.
Diffstat (limited to 'share/man/just-import-git.1.org')
-rw-r--r-- | share/man/just-import-git.1.org | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/man/just-import-git.1.org b/share/man/just-import-git.1.org index c2d5c6f9..26d05ea3 100644 --- a/share/man/just-import-git.1.org +++ b/share/man/just-import-git.1.org @@ -75,6 +75,11 @@ The resulting configuration is printed on standard output. and ~"system"~). In other words, ~repos.json~ and ~etc/repos.json~ are tried if this option is not given. + *--plain* \\ + Pretend the foreign multi-repository specification is the + canonical one for a single repository. Useful, if the repository + to be imported does not have a repository configuration or + should be imported without dependencies. * See also |