Skip to content

Commit

Permalink
Merge branch 'js/scalar-diagnose' into seen
Browse files Browse the repository at this point in the history
Implementation of "scalar diagnose" subcommand.

* js/scalar-diagnose:
  fixup! archive --add-file-with-contents: allow paths containing colons
  • Loading branch information
gitster committed May 20, 2022
2 parents cd820d1 + 9d705bf commit 48c2837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t5003-archive-zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,14 +214,14 @@ test_expect_success UNZIP 'git archive --format=zip --add-virtual-file' '
QUOTED=quoted
fi &&
git archive --format=zip >with_file_with_content.zip \
--add-virtual-file=\"$QUOTED\": \
--add-virtual-file=\""$QUOTED"\": \
--add-virtual-file=hello:world $EMPTY_TREE &&
test_when_finished "rm -rf tmp-unpack" &&
mkdir tmp-unpack && (
cd tmp-unpack &&
"$GIT_UNZIP" ../with_file_with_content.zip &&
test_path_is_file hello &&
test_path_is_file $QUOTED &&
test_path_is_file "$QUOTED" &&
test world = $(cat hello)
)
'
Expand Down

0 comments on commit 48c2837

Please sign in to comment.