@matheusbsbs / matheus-bagliano / commits / 4813926921
Fork 0

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 <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Thomas Rast committed Jun 27, 2009 at 20:47 UTC 4813926921862887c23e4160908ec7b8ad9e19dd
1 file changed +4
t/t5000-tar-tree.sh
+4
@@ -94,6 +94,10 @@ test_expect_success 'git archive with --output' \
94 'git archive --output=b4.tar HEAD &&
95 test_cmp b.tar b4.tar'
96
97 +test_expect_success 'git archive --remote' \
98 + 'git archive --remote=. HEAD >b5.tar &&
99 + test_cmp b.tar b5.tar'
100 +
101 test_expect_success \
102 'validate file modification time' \
103 'mkdir extract &&