Revision 3edd98ac6569252acd669c2b9cbe39d15eeb7e56 authored by Carlos R. Mafra on 11 October 2009, 13:32:19 UTC, committed by Junio C Hamano on 19 October 2009, 02:45:38 UTC
'make clean' should remove the object files from block-sha1/
instead of the non-existent mozilla-sha1/ directory.

Signed-off-by: Carlos R. Mafra <crmafra@aei.mpg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent b142da2
Raw File
t1009-read-tree-new-index.sh
#!/bin/sh

test_description='test read-tree into a fresh index file'

. ./test-lib.sh

test_expect_success setup '
	echo one >a &&
	git add a &&
	git commit -m initial
'

test_expect_success 'non-existent index file' '
	rm -f new-index &&
	GIT_INDEX_FILE=new-index git read-tree master
'

test_expect_success 'empty index file' '
	rm -f new-index &&
	> new-index &&
	GIT_INDEX_FILE=new-index git read-tree master
'

test_done

back to top