Skip to content

repo list: escape color for path that can contain '@g' from 'git@github'#51178

Merged
becker33 merged 1 commit into
developfrom
bugfix/repo-list-color-git-ssh
Aug 19, 2025
Merged

repo list: escape color for path that can contain '@g' from 'git@github'#51178
becker33 merged 1 commit into
developfrom
bugfix/repo-list-color-git-ssh

Conversation

@becker33

Copy link
Copy Markdown
Member

If a user adds a repo over ssh from git with git@github.com:... or similarly from gitlab, the coloring identifies the @g as a color sequence.

This PR fixes it by calling color.cescape on the path before printing.

…...'

Signed-off-by: Gregory Becker <becker33@llnl.gov>
@haampie haampie added the v1.0.2 PRs to backport for v1.0.2 label Aug 19, 2025
@becker33 becker33 merged commit 66e1160 into develop Aug 19, 2025
33 checks passed
@becker33 becker33 deleted the bugfix/repo-list-color-git-ssh branch August 19, 2025 13:24
@alalazo alalazo mentioned this pull request Aug 22, 2025
26 tasks
alalazo pushed a commit that referenced this pull request Aug 22, 2025
…...' (#51178)

Signed-off-by: Gregory Becker <becker33@llnl.gov>
alalazo pushed a commit that referenced this pull request Aug 22, 2025
…...' (#51178)

Signed-off-by: Gregory Becker <becker33@llnl.gov>
alalazo pushed a commit that referenced this pull request Aug 22, 2025
…...' (#51178)

Signed-off-by: Gregory Becker <becker33@llnl.gov>
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
haampie pushed a commit that referenced this pull request Sep 12, 2025
…...' (#51178)

Signed-off-by: Gregory Becker <becker33@llnl.gov>
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1.0.2 PRs to backport for v1.0.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants