mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-25 07:16:21 +00:00
Merge branch 'stable'
* stable: Fix mirror clients with no worktree Change-Id: I5665117af7365107fef526a825f5ef51f0af4c2d
This commit is contained in:
commit
1e1b3e31f0
@ -237,7 +237,10 @@ class Project(object):
|
|||||||
self.name = name
|
self.name = name
|
||||||
self.remote = remote
|
self.remote = remote
|
||||||
self.gitdir = gitdir.replace('\\', '/')
|
self.gitdir = gitdir.replace('\\', '/')
|
||||||
|
if worktree:
|
||||||
self.worktree = worktree.replace('\\', '/')
|
self.worktree = worktree.replace('\\', '/')
|
||||||
|
else:
|
||||||
|
self.worktree = None
|
||||||
self.relpath = relpath
|
self.relpath = relpath
|
||||||
self.revisionExpr = revisionExpr
|
self.revisionExpr = revisionExpr
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user