path: root/Documentation
diff options
authorLuke Diamand <>2018-06-08 20:32:44 (GMT)
committerJunio C Hamano <>2018-06-12 21:46:08 (GMT)
commitb9d34db9a2108755ad01926cccc2a5007b5862a6 (patch)
tree14df8c21ce57cd7255d21b5873750814ef84f8af /Documentation
parent3b3477ea5ae0a443ecceaf588c41cbc937066260 (diff)
git-p4: add option to disable syncing of p4/master with p4
Add an option to the git-p4 submit command to disable syncing with Perforce. This is useful for the case where a git-p4 mirror has been setup on a server somewhere, running from (e.g.) cron, and developers then clone from this. Having the local cloned copy also sync from Perforce just isn't useful. Signed-off-by: Luke Diamand <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation')
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt
index 699fcc8..fa0e992 100644
--- a/Documentation/git-p4.txt
+++ b/Documentation/git-p4.txt
@@ -344,6 +344,11 @@ These options can be used to modify 'git p4 submit' behavior.
Disable the automatic rebase after all commits have been successfully
submitted. Can also be set with git-p4.disableRebase.
+ Disable the automatic sync of p4/master from Perforce after commits have
+ been submitted. Implies --disable-rebase. Can also be set with
+ git-p4.disableP4Sync. Sync with origin/master still goes ahead if possible.
Rebase options
These options can be used to modify 'git p4 rebase' behavior.
@@ -661,6 +666,9 @@ git-p4.conflict::
Do not rebase the tree against p4/master following a submit.
+ Do not sync p4/master with Perforce following a submit. Implies git-p4.disableRebase.
* Changesets from p4 are imported using Git fast-import.