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

feat(router): add 'default_branch' router type #207

Merged
merged 12 commits into from
Feb 26, 2024

Conversation

linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Feb 26, 2024

Resolve #151 .

Regression Test

Platforms

  • windows
  • macOS
  • linux

Hosts

Functions

  • Use GitLink to copy git link.
  • Use GitLink! to open git link in browser.
  • Use GitLink blame to copy the /blame git link.
  • Use GitLink! blame to open the /blame git link in browser.
  • Copy git link in a symlink directory of git repo.
  • Copy git link in an un-pushed git branch, and receive an expected error.
  • Copy git link in a pushed git branch but edited file, and receive a warning says the git link could be wrong.

@github-actions github-actions bot added the feat label Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 73.86%. Comparing base (f205e64) to head (5a9d207).

❗ Current head 5a9d207 differs from pull request most recent head 50b04bc. Consider uploading reports for the commit 50b04bc to get more accurate results

Files Patch % Lines
lua/gitlinker.lua 85.71% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #207      +/-   ##
==========================================
+ Coverage   72.83%   73.86%   +1.03%     
==========================================
  Files           8        8              
  Lines         692      727      +35     
==========================================
+ Hits          504      537      +33     
- Misses        188      190       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@linrongbin16 linrongbin16 merged commit 7fbefed into master Feb 26, 2024
7 checks passed
@linrongbin16 linrongbin16 deleted the feat-default-branch branch February 26, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Builtin ability to copy/open url of main/master branch
1 participant