git-p4: document and test clone --branch
commit1471c6b1558f45fa11ad606fc9ea72261d965284
authorPete Wyckoff <pw@padd.com>
Sun, 25 Dec 2011 02:07:34 +0000 (24 21:07 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2011 18:19:30 +0000 (27 10:19 -0800)
treea3d01f9a23ce264a04349e008dcd4a4ae1e66f40
parentda191d15bfd690e679a9626cba527465e0aafabb
git-p4: document and test clone --branch

Clone with --branch will not checkout HEAD, unless the branch
happens to be called the default refs/remotes/p4/master.  The
--branch option is most useful with sync; give an example of
that.

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