summaryrefslogtreecommitdiff
path: root/t/t5000-tar-tree.sh
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2007-04-05 20:55:43 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-05 21:10:10 (GMT)
commit265d528032e55c48798266c538d3e6338cb1e2b6 (patch)
tree5bc341347905668fc3f6bd673a6875ef8a009497 /t/t5000-tar-tree.sh
parent5850cb645d3ca44c3bc014f92672dae6394c0315 (diff)
downloadgit-265d528032e55c48798266c538d3e6338cb1e2b6.zip
git-265d528032e55c48798266c538d3e6338cb1e2b6.tar.gz
git-265d528032e55c48798266c538d3e6338cb1e2b6.tar.bz2
Revert "builtin-archive: use RUN_SETUP"
Commit 64edf4b2 cleaned up the initialization of git-archive, at the cost of 'git-archive --list' now requiring a git repo. This patch reverts the cleanup and documents the requirement for this particular dirtyness in a test. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t5000-tar-tree.sh')
-rwxr-xr-xt/t5000-tar-tree.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t5000-tar-tree.sh b/t/t5000-tar-tree.sh
index ac835fe..b4359df 100755
--- a/t/t5000-tar-tree.sh
+++ b/t/t5000-tar-tree.sh
@@ -130,4 +130,8 @@ test_expect_success \
'validate file contents with prefix' \
'diff -r a e/prefix/a'
+test_expect_success \
+ 'git-archive --list outside of a git repo' \
+ 'GIT_DIR=some/non-existing/directory git-archive --list'
+
test_done