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(command): add GitLink #120

Merged
merged 22 commits into from
Nov 16, 2023
Merged

feat(command): add GitLink #120

merged 22 commits into from
Nov 16, 2023

Conversation

linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Nov 16, 2023

Regression Test

Platforms

  • windows
  • macOS
  • linux

Tasks

  • Use <leader>gl to copy git link.
  • Use <leader>gL to open 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 Nov 16, 2023
Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Attention: 49 lines in your changes are missing coverage. Please review.

Comparison is base (e605210) 81.31% compared to head (b581511) 78.57%.

Files Patch % Lines
lua/gitlinker.lua 42.68% 47 Missing ⚠️
lua/gitlinker/linker.lua 0.00% 1 Missing ⚠️
lua/gitlinker/utils.lua 96.42% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #120      +/-   ##
==========================================
- Coverage   81.31%   78.57%   -2.75%     
==========================================
  Files          12       12              
  Lines         808      840      +32     
==========================================
+ Hits          657      660       +3     
- Misses        151      180      +29     

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

@linrongbin16 linrongbin16 merged commit 065f5c9 into master Nov 16, 2023
8 checks passed
@linrongbin16 linrongbin16 deleted the feat-command2 branch November 16, 2023 15:51
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.

None yet

1 participant