diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-12 00:18:38 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-12 00:18:38 +0300 |
commit | ca8870d7c198b658a0e3004e27d1c36305702f7f (patch) | |
tree | dc51d4ab2b01c52522e9b6b9536e5657385bf4b5 /git-p4.py | |
parent | 1e8ed50309ad7975a855383332c6c09b17eb73be (diff) | |
parent | 1b09d1917f376d52e191102509d08303f8d26388 (diff) |
Merge branch 'js/p4-default-branch'
"git p4" now honors init.defaultBranch configuration.
* js/p4-default-branch:
p4: respect init.defaultBranch
Diffstat (limited to 'git-p4.py')
-rwxr-xr-x | git-p4.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4186,7 +4186,7 @@ class P4Clone(P4Sync): # create a master branch and check out a work tree if gitBranchExists(self.branch): - system([ "git", "branch", "master", self.branch ]) + system([ "git", "branch", currentGitBranch(), self.branch ]) if not self.cloneBare: system([ "git", "checkout", "-f" ]) else: |