1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-22 01:36:09 +02:00

Fix "compilation" :)

Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
Simon Hausmann 2007-04-01 13:39:39 +02:00
parent c9b50e6307
commit 2a9489c024

View File

@ -416,7 +416,7 @@ class GitSync(Command):
optparse.make_option("--changesfile", dest="changesFile"),
optparse.make_option("--silent", dest="silent", action="store_true"),
optparse.make_option("--known-branches", dest="knownBranches"),
optparse.make_option("--cache", dest="doCache", action="store_true"),
optparse.make_option("--data-cache", dest="dataCache", action="store_true"),
optparse.make_option("--command-cache", dest="commandCache", action="store_true")
]
self.description = """Imports from Perforce into a git repository.\n
@ -500,7 +500,7 @@ class GitSync(Command):
if knownBranch:
continue
for branch in knownBranches:
for branch in self.knownBranches:
#if relativePath.startswith(branch):
if self.isSubPathOf(relativePath, branch):
if len(branches) == 0: