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(branch): provide DEFAULT_BRANCH and CURRENT_BRANCH components #159

Merged
merged 6 commits into from
Nov 27, 2023

Conversation

linrongbin16
Copy link
Owner

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 Nov 27, 2023
Copy link

codecov bot commented Nov 27, 2023

Codecov Report

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

Comparison is base (3e33ba8) 75.64% compared to head (159ced0) 76.86%.

Files Patch % Lines
lua/gitlinker/git.lua 10.52% 17 Missing ⚠️
lua/gitlinker/linker.lua 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
+ Coverage   75.64%   76.86%   +1.22%     
==========================================
  Files          11       11              
  Lines         973      990      +17     
==========================================
+ Hits          736      761      +25     
+ Misses        237      229       -8     

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

@linrongbin16
Copy link
Owner Author

relate: #151

@linrongbin16 linrongbin16 merged commit 7007c7a into master Nov 27, 2023
8 checks passed
@linrongbin16 linrongbin16 deleted the feat-branch-components branch November 27, 2023 05:27
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.

1 participant