Skip to content

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

Merged
linrongbin16 merged 12 commits intomasterfrom
feat-default-branch
Feb 26, 2024
Merged

feat(router): add 'default_branch' router type#207
linrongbin16 merged 12 commits intomasterfrom
feat-default-branch

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
@codecov
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.

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