From: Thomas Rast Date: Sat, 27 Jun 2009 18:47:43 +0000 (+0200) Subject: Test git archive --remote X-Git-Tag: v1.6.4-rc0~10^2~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4813926921862887c23e4160908ec7b8ad9e19dd;p=git.git 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: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh index abb41b07e..5f84b18fa 100755 --- a/t/t5000-tar-tree.sh +++ b/t/t5000-tar-tree.sh @@ -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 &&