Skip to content

Commit

Permalink
fixup??? backfill: add --sparse option
Browse files Browse the repository at this point in the history
The `backfill` tests sent to upstream have changed format dramatically.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jan 27, 2025
1 parent 59dec19 commit 5c5c223
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions t/t6601-path-walk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,21 +186,21 @@ test_expect_success 'base & topic, sparse' '
test-tool path-walk --stdin-pl -- base topic <patterns >out &&
cat >expect <<-EOF &&
COMMIT::$(git rev-parse topic)
COMMIT::$(git rev-parse base)
COMMIT::$(git rev-parse base~1)
COMMIT::$(git rev-parse base~2)
0:commit::$(git rev-parse topic)
0:commit::$(git rev-parse base)
0:commit::$(git rev-parse base~1)
0:commit::$(git rev-parse base~2)
commits:4
TREE::$(git rev-parse topic^{tree})
TREE::$(git rev-parse base^{tree})
TREE::$(git rev-parse base~1^{tree})
TREE::$(git rev-parse base~2^{tree})
TREE:left/:$(git rev-parse base:left)
TREE:left/:$(git rev-parse base~2:left)
1:tree::$(git rev-parse topic^{tree})
1:tree::$(git rev-parse base^{tree})
1:tree::$(git rev-parse base~1^{tree})
1:tree::$(git rev-parse base~2^{tree})
3:tree:left/:$(git rev-parse base:left)
3:tree:left/:$(git rev-parse base~2:left)
trees:6
BLOB:a:$(git rev-parse base~2:a)
BLOB:left/b:$(git rev-parse base~2:left/b)
BLOB:left/b:$(git rev-parse base:left/b)
2:blob:a:$(git rev-parse base~2:a)
4:blob:left/b:$(git rev-parse base~2:left/b)
4:blob:left/b:$(git rev-parse base:left/b)
blobs:3
tags:0
EOF
Expand Down

0 comments on commit 5c5c223

Please sign in to comment.