Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: Correctly match repository names containing '.' #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brian-kubisiak-skydio
Copy link

The '.' character is valid in repository names on github. Change the
regexes to use negative lookbehind assertions to avoid matching an
optional trailing '.git' instead of stopping the repository name when
encountering '.'.

Without this, revup cannot be used on repositories containing the '.'
character.

Signed-off-by: Brian Kubisiak [email protected]

The '.' character is valid in repository names on github. Change the
regexes to use negative lookbehind assertions to avoid matching an
optional trailing '.git' instead of stopping the repository name when
encountering '.'.

Without this, revup cannot be used on repositories containing the '.'
character.

Signed-off-by: Brian Kubisiak <[email protected]>
@brian-kubisiak-skydio
Copy link
Author

Reviews in this chain:
#193 git: Correctly match repository names containing '.'

@brian-kubisiak-skydio
Copy link
Author

# head base diff date summary
0 11ffd9c3 d29851a6 diff Dec 2 7:06 AM 1 file changed, 2 insertions(+), 2 deletions(-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants