Scenario: clone-copied-content
A folder that was copied in by hand, with exactly upstream's content.
- Monorepo (
vendor/a/):file.txt, identical to upstream's. - Upstream:
seed.
Nothing can be lost, so clone only adds .splice.
Output
setup.bash builds this state:
$ build_scenario scenario_clone_copied_content
$ git splice clone "$UPSTREAM" vendor/a
=== vendor/a: fetching $UPSTREAM
ok vendor/a: cloned bde4164 from main
$ git show --stat --format=%s HEAD
splice: clone vendor/a from main at bde4164
vendor/a/.splice | 5 +++++
1 file changed, 5 insertions(+)
$ git splice status
On branch main
up to date vendor/a