diff options
author | Thomas Rast <trast@student.ethz.ch> | 2009-06-27 20:47:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-27 13:15:39 -0700 |
commit | 4813926921862887c23e4160908ec7b8ad9e19dd (patch) | |
tree | 6314fa91a00209208350fcacc8fc9679483d1b00 /t | |
parent | fread does not return negative on error (diff) | |
download | tgif-4813926921862887c23e4160908ec7b8ad9e19dd.tar.xz |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5000-tar-tree.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh index abb41b07ef..5f84b18fa5 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 && |