Revision eaf1c941bbc10f5aa67fcf64e316fb548b910cfe authored by Junio C Hamano on 13 September 2009, 08:50:22 UTC, committed by Junio C Hamano on 13 September 2009, 08:50:33 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 5f2b1e6
Raw File
t5531-deep-submodule-push.sh
#!/bin/sh

test_description='unpack-objects'

. ./test-lib.sh

test_expect_success setup '
	mkdir pub.git &&
	GIT_DIR=pub.git git init --bare
	GIT_DIR=pub.git git config receive.fsckobjects true &&
	mkdir work &&
	(
		cd work &&
		git init &&
		mkdir -p gar/bage &&
		(
			cd gar/bage &&
			git init &&
			>junk &&
			git add junk &&
			git commit -m "Initial junk"
		) &&
		git add gar/bage &&
		git commit -m "Initial superproject"
	)
'

test_expect_success push '
	(
		cd work &&
		git push ../pub.git master
	)
'

test_done
back to top