diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-12-03 13:34:23 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-04 21:52:23 -0800 |
commit | 546f822d53aa4b4b35f962d61cdcd1204f9e96e3 (patch) | |
tree | 0e11c78d957143c9bfdb039ed7466119c1befbe4 /archive.h | |
parent | scalar: implement 'scalar list' (diff) | |
download | tgif-546f822d53aa4b4b35f962d61cdcd1204f9e96e3.tar.xz |
scalar: implement the `clone` subcommand
This implements Scalar's opinionated `clone` command: it tries to use a
partial clone and sets up a sparse checkout by default. In contrast to
`git clone`, `scalar clone` sets up the worktree in the `src/`
subdirectory, to encourage a separation between the source files and the
build output (which helps Git tremendously because it avoids untracked
files that have to be specifically ignored when refreshing the index).
Also, it registers the repository for regular, scheduled maintenance,
and configures a flurry of configuration settings based on the
experience and experiments of the Microsoft Windows and the Microsoft
Office development teams.
Note: since the `scalar clone` command is by far the most commonly
called `scalar` subcommand, we document it at the top of the manual
page.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.h')
0 files changed, 0 insertions, 0 deletions