git p4: fix sync --branch when no master branch
authorPete Wyckoff <pw@padd.com>
Tue, 15 Jan 2013 00:47:06 +0000 (19:47 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 17:46:30 +0000 (09:46 -0800)
commit8c9e8b6e756cce90797e19dc64e3b51426546cf3
tree98b4029c4be49401300478584af1d4896f46b80b
parent5a8e84cde3711076d3ad7260daa0a24ee40c8e07
git p4: fix sync --branch when no master branch

It is legal to sync a branch with a different name than
refs/remotes/p4/master, and to do so even when master does
not exist.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-p4.txt
git-p4.py
t/t9806-git-p4-options.sh