summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2013-01-15 00:47:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-01-15 17:46:29 (GMT)
commitc595956db99a728ab2247b564c8283cf5c0d84e6 (patch)
tree5eba33238d85eed1356475e18bb61150be052628 /Documentation
parent695d69989429e9268c0587e3606399fc9d6cd6fa (diff)
downloadgit-c595956db99a728ab2247b564c8283cf5c0d84e6.zip
git-c595956db99a728ab2247b564c8283cf5c0d84e6.tar.gz
git-c595956db99a728ab2247b564c8283cf5c0d84e6.tar.bz2
git p4: clone --branch should checkout master
When using the --branch argument to "git p4 clone", one might specify a destination for p4 changes different from the default refs/remotes/p4/master. Both cases should create a master branch and checkout files. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-p4.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt
index beff622..2623bee 100644
--- a/Documentation/git-p4.txt
+++ b/Documentation/git-p4.txt
@@ -174,8 +174,7 @@ subsequent 'sync' operations.
--branch <branch>::
Import changes into given branch. If the branch starts with
'refs/', it will be used as is, otherwise the path 'refs/heads/'
- will be prepended. The default branch is 'master'. If used
- with an initial clone, no HEAD will be checked out.
+ will be prepended. The default branch is 'p4/master'.
+
This example imports a new remote "p4/proj2" into an existing
git repository: