summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fdabc24)
raw | patch | inline | side by side (parent: fdabc24)
author | Daniel Barkalow <barkalow@iabervon.org> | |
Thu, 22 May 2008 22:03:08 +0000 (18:03 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 May 2008 06:33:50 +0000 (23:33 -0700) |
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5700-clone-reference.sh | patch | blob | history |
index b6a54867b491ba67e4813fd492a1a8cc16959a21..58a97f1ed1649b38aa06f7ea307f2907d10dfb16 100755 (executable)
base_dir=`pwd`
+U=$base_dir/UPLOAD_LOG
+
test_expect_success 'preparing first repository' \
'test_create_repo A && cd A &&
echo first > file1 &&
cd "$base_dir"
+rm -f $U
+
test_expect_success 'cloning with reference (no -l -s)' \
-'git clone --reference B file://`pwd`/A D'
+'GIT_DEBUG_SEND_PACK=3 git clone --reference B file://`pwd`/A D 3>$U'
+
+test_expect_success 'fetched no objects' \
+'! grep "^want" $U'
cd "$base_dir"