Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Fix support for explicit disabling of syncing with the origin
author
Simon Hausmann
<simon@lst.de>
Mon, 11 Jun 2007 07:59:27 +0000
(09:59 +0200)
committer
Simon Hausmann
<simon@lst.de>
Mon, 11 Jun 2007 07:59:27 +0000
(09:59 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
86fda6a
)
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 815d8bbb5d73ff79072602457c776b654e97a11d..ff56181310988de13f5eef0232c255bdcc4d1910 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-1028,6
+1028,8
@@
class P4Sync(Command):
self.knownBranches = {}
self.initialParents = {}
self.hasOrigin = gitBranchExists("origin") or gitBranchExists("origin/p4") or gitBranchExists("origin/p4/master")
+ if not self.syncWithOrigin:
+ self.hasOrigin = False
if self.importIntoRemotes:
self.refPrefix = "refs/remotes/p4/"