-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add links to license and source code in footer (#909)
* Display link to source code and license in footer * Remove " (fetch)" suffix in remote URL * Use split instead of replace for getting the clean remote URL * Open license link in new tab as well * LINQ-ify things and handle potential errors * Properly detect remote URL type and parse accordingly Squashed 3 commits: * Properly detect remote URL type and parse accordingly * Actually fix broken source code link...maybe * Attempt to fix broken source code link * Fix a kokoism Perhaps we should actually utilize the firstRemoteUnparsedUrl variable instead of getting the FirstOrDefault remote over and over * Fix missing slash when using an SSH remote * Assign null to parsed URL variable by default Thank you clyde discord * Only perform the null check on the unparsed URL once Thank you again clyde discord * Handle exception when there are no defined remotes * Move remote determination to VersionHelper and format file Squashed 4 commits: * Nitpick variable naming and add XML doc * Use preferred braces style * Return null directly if unparsed URL is null * Move remote determination to VersionHelper and format file * Add param to include HTTPS prefix in DetermineRemoteUrl method * Remove warnings from XML doc Not needed as of c63284c * Properly insert HTTPS prefix into SSH remotes * Fix license layout and improve git remote parsing --------- Co-authored-by: Slendy <josh@slendy.pw>
- Loading branch information
Showing
2 changed files
with
64 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters