From f49512b72b44854782d58c6184c847be887bfe7d Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 18 May 2026 11:45:12 +0200 Subject: [PATCH] =?UTF-8?q?emparella=20per=20nom=20nom=C3=A9s=20quan=20no?= =?UTF-8?q?=20hi=20ha=20origin=20remot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repoman.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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