Changed the default branch for imports from "master" to "p4"
Signed-off-by: Simon Hausmann <simon@lst.de>
Simon Hausmann committed
Mar 22, 2007 at 20:36 UTC
f5816a5522763f46e075cc618eab12110107a917
2 files changed
+4
-4
contrib/fast-import/git-p4
+1
-1
@@ -352,7 +352,7 @@ class GitSync(Command):
352
self.knownBranches = Set()
353
self.createdBranches = Set()
354
self.committedChanges = Set()
355
- self.branch = "master"
355
+ self.branch = "p4"
356
self.detectBranches = False
357
self.changesFile = ""
358
contrib/fast-import/git-p4.txt
+3
-3
@@ -17,9 +17,9 @@ The procedure is simple:
17
git init
18
git-p4 sync //path/in/your/perforce/depot
19
20
-This will import the current head revision of the specified depot path into the
21
-master branch of your git repository. You can use the --branch=mybranch option
22
-to let git-p4 import from Perforce into a git branch of your choice.
20
+This will import the current head revision of the specified depot path into a
21
+"p4" branch of your git repository. You can use the --branch=mybranch option
22
+to use a different branch.
23
24
If you want to import the entire history of a given depot path just use
25