Merge "project: Relax the submodule name pattern to accept dots"
This commit is contained in:
commit
834d308a2b
1 changed files with 2 additions and 2 deletions
|
@ -1807,8 +1807,8 @@ class Project(object):
|
|||
submodules.append((sub_rev, sub_path, sub_url))
|
||||
return submodules
|
||||
|
||||
re_path = re.compile(r'^submodule\.([^.]+)\.path=(.*)$')
|
||||
re_url = re.compile(r'^submodule\.([^.]+)\.url=(.*)$')
|
||||
re_path = re.compile(r'^submodule\.(.+)\.path=(.*)$')
|
||||
re_url = re.compile(r'^submodule\.(.+)\.url=(.*)$')
|
||||
|
||||
def parse_gitmodules(gitdir, rev):
|
||||
cmd = ['cat-file', 'blob', '%s:.gitmodules' % rev]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue