update submodule-cache example
This commit is contained in:
parent
c2593b63a3
commit
74507f4c36
2 changed files with 3 additions and 68 deletions
|
|
@ -31,7 +31,7 @@ def list_submodule_prop(prop):
|
|||
proc = subprocess.run('git config --file .gitmodules --get-regexp'.split() + [f'\.{prop}$'], check=True, capture_output=True)
|
||||
for line in proc.stdout.splitlines():
|
||||
key, value = line.split()
|
||||
#example key: submodule.fw/hid-dials/upstream/st-hal-f0.url
|
||||
#example key: submodule.fw/upstream/st-hal-f0.url
|
||||
_, cfg_name, _ = key.split(b'.')
|
||||
|
||||
cfg_id = cfg_name.decode('utf-8')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue