fix: better leader support

This commit is contained in:
egarette@silique.fr 2025-03-19 10:02:29 +01:00
parent 093819f051
commit fb0d9c9d22

View file

@ -488,7 +488,7 @@ class TiramisuCmdlineParser(ArgumentParser):
# no follower found, search if there is a symlink
for sobj in config.list(uncalculated=True):
try:
if sobj.issymlinkoption() and sobj.option().isleader():
if sobj.issymlinkoption() and sobj.index is None and sobj.option().isleader():
yield sobj, None, None
except ConfigError:
pass