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(bare/worktree): only check remote branches if remote has 'fetch' config #143

Merged
merged 8 commits into from
Nov 22, 2023

Conversation

linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Nov 21, 2023

… configured

Regression Test

Platforms

  • windows
  • macOS
  • linux

Tasks

  • 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 21, 2023
@linrongbin16
Copy link
Owner Author

relate: #107

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

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

Comparison is base (9d3f8de) 75.78% compared to head (666ef48) 76.43%.

Files Patch % Lines
lua/gitlinker/git.lua 66.66% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   75.78%   76.43%   +0.65%     
==========================================
  Files          11       11              
  Lines         921      921              
==========================================
+ Hits          698      704       +6     
+ Misses        223      217       -6     

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

@linrongbin16 linrongbin16 merged commit 9352c3a into master Nov 22, 2023
8 checks passed
@linrongbin16 linrongbin16 deleted the feat-git-bare branch November 22, 2023 05:52
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