Skip to content

Conversation

@kylo252
Copy link

@kylo252 kylo252 commented Jun 28, 2022

Description

ability to override the current branch's remote, which is useful for getting permalinks that use "origin", and not the temporary fork.

How to test

compare the results of these two functions before and after

require('gitlinker').get_buf_range_url('n', {remote = "origin"})
require('gitlinker').get_buf_range_url('n', {remote = "fork"})

ability to override the current branch's remote, which is useful for
getting permalinks that use "origin", and not the temporary fork.

```lua
require('gitlinker').get_buf_range_url('n', {remote = "origin"})
require('gitlinker').get_buf_range_url('n', {remote = "fork"})
```
@kylo252 kylo252 force-pushed the allow-remote-override branch from f8461b9 to c9442dd Compare June 28, 2022 10:57
stevanmilic pushed a commit to stevanmilic/gitlinker.nvim that referenced this pull request Nov 12, 2023
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.

1 participant