Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Test git archive --remote
author
Thomas Rast
<trast@student.ethz.ch>
Sat, 27 Jun 2009 18:47:43 +0000
(20:47 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 27 Jun 2009 20:15:39 +0000
(13:15 -0700)
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>
t/t5000-tar-tree.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6651c3f
)
diff --git
a/t/t5000-tar-tree.sh
b/t/t5000-tar-tree.sh
index abb41b07ef1985d53c2186617e6b2fcf7e7fe033..5f84b18fa5f0f199905bc7fc045672b70035a708 100755
(executable)
--- 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 &&