diff options
author | Pete Wyckoff <pw@padd.com> | 2013-01-15 04:47:06 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-15 21:46:30 +0400 |
commit | 8c9e8b6e756cce90797e19dc64e3b51426546cf3 (patch) | |
tree | 98b4029c4be49401300478584af1d4896f46b80b /Documentation | |
parent | 5a8e84cde3711076d3ad7260daa0a24ee40c8e07 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-p4.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt index 7bd5c290c4..e79d0467c4 100644 --- a/Documentation/git-p4.txt +++ b/Documentation/git-p4.txt @@ -112,6 +112,11 @@ will be fetched and consulted first during a 'git p4 sync'. Since importing directly from p4 is considerably slower than pulling changes from a git remote, this can be useful in a multi-developer environment. +If there are multiple branches, doing 'git p4 sync' will automatically +use the "BRANCH DETECTION" algorithm to try to partition new changes +into the right branch. This can be overridden with the '--branch' +option to specify just a single branch to update. + Rebase ~~~~~~ |