diff options
author | Simon Hausmann <shausman@trolltech.com> | 2007-05-25 10:36:10 +0200 |
---|---|---|
committer | Simon Hausmann <shausman@trolltech.com> | 2007-05-25 10:36:10 +0200 |
commit | 01265103fe3966abd720ebb0bba1882a5701f327 (patch) | |
tree | 789a11917442eb67746192ae426fdcc4c0ca4922 /contrib/fast-import/git-p4.txt | |
parent | 417a7a6fc8c3d77e3e9a3bb0e11cb2eea978e20b (diff) | |
download | git-01265103fe3966abd720ebb0bba1882a5701f327.tar.gz git-01265103fe3966abd720ebb0bba1882a5701f327.tar.xz |
Make --with-origin the default for syncing.
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Diffstat (limited to 'contrib/fast-import/git-p4.txt')
-rw-r--r-- | contrib/fast-import/git-p4.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/contrib/fast-import/git-p4.txt b/contrib/fast-import/git-p4.txt index aa9f31e5f..c315158d8 100644 --- a/contrib/fast-import/git-p4.txt +++ b/contrib/fast-import/git-p4.txt @@ -70,18 +70,10 @@ repository can be used to clone the working repository from and one would import from Perforce directly after cloning using git-p4. If the connection to the Perforce server is slow and the working repository hasn't been synced for a while it may be desirable to fetch changes from the origin git repository using -the efficient git protocol. git-p4 supports this through +the efficient git protocol. git-p4 supports this setup by calling "git fetch origin" +by default if there is an origin branch. You can disable this using - git-p4 sync --with-origin - -or - - git-p4 rebase --with-origin - -In that case "git fetch origin" is called and if it turns out that the origin -branch is newer than the git "p4" import branch then the latter is updated from -the former and the direct import from Perforce is resumed, which will result in -fewer changes to be imported using the slower perforce connection. + git config git-p4.syncFromOrigin false Updating ======== |