I'm trying to pull a subset of a git bundle into a repo.
Setup
Starting with this repo.
R1: A --> B --> C --> D --> E --> F
I've created these git bundles
# git bundle create B1 C..E
# git bundle create B1 B..F
B1: C --> D --> E
B2: B --> C --> D --> E --> F
I've created a shallow clone, depth 1, from C
# git clone --depth 1 file:///R1 R2
R2: C
Pulling bundles
From R2 I can pull from B1 to get:
# git pull B1 main
R2: C --> D --> E
But when I'm trying to pull from B2 I get this error message
# git pull B2 main
error: Repository lacks these prerequisite commits:
error: B
Which is true, R2 does not have commit B.
Is there a way to have it ignore B and only fill up from C and get this?:
R2: C --> D --> E --> F