Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib: Fix remote repo detection for .git suffix
Michi pointed out that the previous iteration on this regex fixed security remotes but broke remotes with a URL ending in ".git". Enhance the regex to also solve this case. Reported-by: Michi Mutsuzaki <[email protected]> Signed-off-by: Joe Stringer <[email protected]>
- Loading branch information