提交 48139269 编写于 作者: T Thomas Rast 提交者: Junio C Hamano

Test git archive --remote

Add a small test case for git archive --remote (and thus
git-upload-archive), which so far went untested.
Signed-off-by: NThomas Rast <trast@student.ethz.ch>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 6651c3f7
......@@ -94,6 +94,10 @@ test_expect_success 'git archive with --output' \
'git archive --output=b4.tar HEAD &&
test_cmp b.tar b4.tar'
test_expect_success 'git archive --remote' \
'git archive --remote=. HEAD >b5.tar &&
test_cmp b.tar b5.tar'
test_expect_success \
'validate file modification time' \
'mkdir extract &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册