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 'file' and 'rev' parameters #238

Merged
merged 9 commits into from
Apr 23, 2024

Conversation

linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Apr 23, 2024

Resolve #237 .

Regression Test

Platforms

  • windows
  • macOS
  • linux

Hosts

Functions

  • Use GitLink(!) to copy git link (or open in browser).
  • Use GitLink(!) blame to copy the /blame link (or open in browser).
  • Use GitLink(!) default_branch to open the /main//master link in browser (or open in browser).
  • Use GitLink(!) current_branch to open the current branch link in browser (or open 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.

Copy link

codecov bot commented Apr 23, 2024

Codecov Report

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

Project coverage is 75.80%. Comparing base (30ee162) to head (5af248c).

❗ Current head 5af248c differs from pull request most recent head 77df9a4. Consider uploading reports for the commit 77df9a4 to get more accurate results

Files Patch % Lines
lua/gitlinker.lua 15.38% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
+ Coverage   75.60%   75.80%   +0.20%     
==========================================
  Files           9        9              
  Lines         828      839      +11     
==========================================
+ Hits          626      636      +10     
- Misses        202      203       +1     

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

@linrongbin16 linrongbin16 merged commit 3f33c47 into master Apr 23, 2024
7 checks passed
@linrongbin16 linrongbin16 deleted the feat-custmize-parameters branch April 23, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Question: Working with fzf-lua's bcommit
1 participant