summaryrefslogtreecommitdiff
path: root/git-p4.py
diff options
context:
space:
mode:
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/git-p4.py b/git-p4.py
index c33dece5d2..e00cd02236 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -2059,8 +2059,9 @@ class P4Submit(Command, P4UserMap):
sync.branch = self.branch
sync.run([])
- rebase = P4Rebase()
- rebase.rebase()
+ if not gitConfigBool("core.bare"):
+ rebase = P4Rebase()
+ rebase.rebase()
else:
if len(applied) == 0: