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