]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5000-tar-tree.sh
Merge branch 'cc/list-objects-filter-wo-sparse-path'
[thirdparty/git.git] / t / t5000-tar-tree.sh
index 2a97b27b0a68f94ab7204764ced5fd1457da3d9c..602bfd9574350ae7f851d6aa26d978cc919f5c58 100755 (executable)
@@ -206,6 +206,12 @@ test_expect_success 'git archive with --output, override inferred format' '
        test_cmp_bin b.tar d4.zip
 '
 
+test_expect_success GZIP 'git archive with --output and --remote creates .tgz' '
+       git archive --output=d5.tgz --remote=. HEAD &&
+       gzip -d -c <d5.tgz >d5.tar &&
+       test_cmp_bin b.tar d5.tar
+'
+
 test_expect_success 'git archive --list outside of a git repo' '
        nongit git archive --list
 '