Revision ab60f2ce2ddd1e0199dbc778bfb054a532badde0 authored by Junio C Hamano on 12 January 2013, 00:51:01 UTC, committed by Junio C Hamano on 12 January 2013, 00:51:01 UTC
* as/api-allocation-doc:
  api-allocation-growing.txt: encourage better variable naming
2 parent s d0f9456 + 5062f9e
Raw File
t5524-pull-msg.sh
#!/bin/sh

test_description='git pull message generation'

. ./test-lib.sh

dollar='$Dollar'

test_expect_success setup '
	test_commit initial afile original &&
	git clone . cloned &&
	(
		cd cloned &&
		echo added >bfile &&
		git add bfile &&
		test_tick &&
		git commit -m "add bfile"
	) &&
	test_tick && test_tick &&
	echo "original $dollar" >afile &&
	git add afile &&
	git commit -m "do not clobber $dollar signs"
'

test_expect_success pull '
(
	cd cloned &&
	git pull --log &&
	git log -2 &&
	git cat-file commit HEAD >result &&
	grep Dollar result
)
'

test_done
back to top