diff options
author | Pete Wyckoff <pw@padd.com> | 2013-01-14 19:47:01 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-15 09:46:29 -0800 |
commit | c595956db99a728ab2247b564c8283cf5c0d84e6 (patch) | |
tree | 5eba33238d85eed1356475e18bb61150be052628 /Documentation/git-p4.txt | |
parent | git p4: verify expected refs in clone --bare test (diff) | |
download | tgif-c595956db99a728ab2247b564c8283cf5c0d84e6.tar.xz |
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/git-p4.txt')
-rw-r--r-- | Documentation/git-p4.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt index beff6229c8..2623bee5fc 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: |