diff --git a/repoman.py b/repoman.py index 1e34378..f3df88a 100644 --- a/repoman.py +++ b/repoman.py @@ -23,7 +23,7 @@ from rich.live import Live from rich.table import Table from rich.text import Text -__version__ = "1.0.2" +__version__ = "1.0.3" console = Console() @@ -209,8 +209,9 @@ def scan_local(base: Path) -> dict[str, Path]: url = local_remote_url(p) if url: found[normalize_url(url)] = p - # Siempre indexamos también por nombre como fallback - found.setdefault(f"name::{p.name}", p) + else: + # Sense origin → emparellem pel nom (per a repos locals sense remote) + found[f"name::{p.name}"] = p return found