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

Support line ranges for commit URLs #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

odnoletkov
Copy link

@odnoletkov odnoletkov commented Jan 11, 2019

Anchor format is

#diff-<MD5 of path>[L|R]<line number>

With L line number is relative to the --- side, with R to the +++ side.
Path of the +++ side used when it exists, otherwise path of the --- side
(for removals).

@odnoletkov
Copy link
Author

Relevant vim-fugitive pull request: tpope/vim-fugitive#1171

autoload/rhubarb.vim Outdated Show resolved Hide resolved
Anchor format is:

   #diff-<SHA256 of path>[[L|R]<start line number>[-[L|R]<end line number>]]

With L line number is relative to the '---' side, and R to the '+++'
side of the diff.  Path of the '+++' side used when it exists, otherwise
path of the '---' side (for removals).

Closes tpope#36
@greg0ire
Copy link

greg0ire commented Jan 9, 2022

@odnoletkov hi! Not sure if that's what blocking this PR, but there are conflicts.

@tpope
Copy link
Owner

tpope commented Jan 9, 2022

Conflicts aren't a blocker at this point.

@greg0ire
Copy link

greg0ire commented Jan 9, 2022

OK, sorry

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.

3 participants