diff options
author | Simon Hausmann <simon@lst.de> | 2007-03-22 20:36:28 +0100 |
---|---|---|
committer | Simon Hausmann <simon@lst.de> | 2007-03-22 20:36:28 +0100 |
commit | f5816a5522763f46e075cc618eab12110107a917 (patch) | |
tree | f4c528b704a8f08cb8e91c8683108d3072f5785c /contrib/fast-import | |
parent | Changed the format of the imported log message slightly, so that it's easier ... (diff) | |
download | tgif-f5816a5522763f46e075cc618eab12110107a917.tar.xz |
Changed the default branch for imports from "master" to "p4"
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib/fast-import')
-rwxr-xr-x | contrib/fast-import/git-p4 | 2 | ||||
-rw-r--r-- | contrib/fast-import/git-p4.txt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index a5b6d94d1a..669cf95d74 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -352,7 +352,7 @@ class GitSync(Command): self.knownBranches = Set() self.createdBranches = Set() self.committedChanges = Set() - self.branch = "master" + self.branch = "p4" self.detectBranches = False self.changesFile = "" diff --git a/contrib/fast-import/git-p4.txt b/contrib/fast-import/git-p4.txt index 5786bffad4..0d30aff64c 100644 --- a/contrib/fast-import/git-p4.txt +++ b/contrib/fast-import/git-p4.txt @@ -17,9 +17,9 @@ The procedure is simple: git init git-p4 sync //path/in/your/perforce/depot -This will import the current head revision of the specified depot path into the -master branch of your git repository. You can use the --branch=mybranch option -to let git-p4 import from Perforce into a git branch of your choice. +This will import the current head revision of the specified depot path into a +"p4" branch of your git repository. You can use the --branch=mybranch option +to use a different branch. If you want to import the entire history of a given depot path just use |