Staging
v0.5.2
Revision a6f47b2be43fbe70236316edc6c87ad9522c485d authored by Miklos Vajna on 22 April 2008, 12:23:48 UTC, committed by Junio C Hamano on 23 April 2008, 04:42:38 UTC
git diff --name-status outputs letters, but the meaning of those letters
is documented elsewhere. Add a note to make the manpage more intuitive.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9231f50
Raw File
t5406-remote-rejects.sh
#!/bin/sh

test_description='remote push rejects are reported by client'

. ./test-lib.sh

test_expect_success 'setup' '
	mkdir .git/hooks &&
	(echo "#!/bin/sh" ; echo "exit 1") >.git/hooks/update &&
	chmod +x .git/hooks/update &&
	echo 1 >file &&
	git add file &&
	git commit -m 1 &&
	git clone . child &&
	cd child &&
	echo 2 >file &&
	git commit -a -m 2
'

test_expect_success 'push reports error' '! git push 2>stderr'

test_expect_success 'individual ref reports error' 'grep rejected stderr'

test_done
back to top