t3200-branch: test setting branch as own upstream
commit95052d1f2db7103b4ff8d44591fc614419ae6eb2
authorBrian Gesiak <modocache@gmail.com>
Wed, 5 Mar 2014 07:31:55 +0000 (5 16:31 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Mar 2014 21:53:06 +0000 (6 13:53 -0800)
treef5adc7dc6034eeafefcb188cb09da8d724dcac79
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
t3200-branch: test setting branch as own upstream

No test asserts that "git branch -u refs/heads/my-branch my-branch"
avoids leaving nonsense configuration and emits a warning.

Add a test that does so.

Signed-off-by: Brian Gesiak <modocache@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh